toMillis

Description

Converts a Date object to its millisecond value elapsed since January 1, 1970, 00:00:00 UTC (GMT)

Syntax

toMillis(date )

Code Examples
Code Snippet
toMillis(setTime(getDate(2017, 6, 22), 16, 45, 34)) //This will take the date Aug 22, 2017 at 14:35:25 PST and convert it to milliseconds from epoch time which is 1,500,767,134,000