Methods
onSave(date) → {string}
Convert JavaScript Date object to a UTC string fit for saving.
Parameters:
Name | Type | Description |
---|---|---|
date |
Date | A native JavaScript Date object. |
- Source:
Returns:
An ISO8601 representation of the string, in zulu
(UTC) time, or null if date is null or undefined.
- Type
- string