Name

assign — Assigns a value to a Date

Synopsis

dateObj.assign(value)

Description

#assign assigns dateObj the value value, which can be a String in the default format, a Time object or another Date object.