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