monster.util.dateToGregorian()
Syntax
monster.util.dateToGregorian(date);
Parameters
| Key | Description | Type | Default | Required |
|---|---|---|---|---|
date | JavaScript Date object that will be converted to a Gregorian timestamp. | Date | true |
Return value
A String representation of a Gregorian timestamp.
Description
The monster.util.dateToGregorian() method converts a JavaScript Date to a Gregorian timestamp.