combine dateVal var creation and assigning to one line
combine dateVal var creation and assigning to one line

AmpersandJS/ampersand-state,STRML/ampersand-state-lodash,adityapunjani/ampersand-state,dhritzkiv/ampersand-state,mrwingfield/ampersand-state