Manuals/calci/MOMENT

From ZCubes Wiki
Revision as of 14:01, 24 May 2018 by Devika (talk | contribs) (Created page with "<div style="font-size:30px">'''MOMENT()'''</div><br/> ==Description== *This function shows the current date and time. *MOMENT is used to display the present date and time in...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
MOMENT()


Description

  • This function shows the current date and time.
  • MOMENT is used to display the present date and time in Greenwich mean time which is called GMT time.
  • UK time is GMT only during the winter months.

Examples

  1. MOMENT() = "2018-05-24T18:54:09.484Z"
  2. MOMENT().subtract(23,"days") = "2018-05-01T18:54:54.421Z"
  3. MOMENT().subtract(INTERVAL(24,"days")) = "2018-04-30T18:55:33.409Z"


See Also

References