monster.util.dateToGregorian()

Syntax

monster.util.dateToGregorian(date);

Parameter

  • date (mandatory)

Type: Date

JavaScript Date object that will be converted to a Gregorian timestamp.

Return

This method returns a Gregorian timestamp.

Description

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

Edit this page here