OpenWGA 7.10 - TMLScript reference

Date
Property :

time

On object Date
Usage Returns the stored timepoint as number
Description This property returns the internally stored time value that this date object contains. It is the number of milliseconds relative to the "epoch date", which is January the 1st 1970 at 0:00 in Greenwich mean time.

Time points values before this date return negative values, time points after it return positive values.
Writable False
Return value Time in milliseconds (Number)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent