today. Current date   [3.4.2]

^date::today[]
^date::today(shift in days)
   [3.4.6]

Constructor creates object of class date for today's midnight (00:00:00), using server's system time. If shift in days is specified, the shift will be added, the shift must be an integer.

The constructor uses local time of the server where Parser works.

Example
$today[^date::today[]]
^today
.sql-string[]



Copyright © 1997–2021 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 27.01.2021