Object function reference

set_date

A reference entry for set_date

Object function · Date

set_date(string date, string format) ⇒ boolean

Sets the date stored within the object. The format helps the system to decide what format the date value is in. If the format parameter is omitted, the format becomes yyyy-MM-dd.