monster.util.gregorianToDate()

Syntax

monster.util.gregorianToDate(timestamp);

Parameter

  • timestamp (mandatory)

Type: Number

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

Return

This method returns a JavaScript Date instance.

Description

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

Edit this page here