monster.util.dateToGregorian()

Syntax

monster.util.dateToGregorian(date);

Parameters

KeyDescriptionTypeDefaultRequired
dateJavaScript Date object that will be converted to a Gregorian timestamp.Datetrue

Return value

A String representation of a Gregorian timestamp.

Description

The monster.util.dateToGregorian() method converts a JavaScript Date to a Gregorian timestamp.