Date

Methods

toJSON
1.5.1

toJSON() -> String

Converts the date into a JSON string (following the ISO format used by JSON).