Project

General

Profile

$date » History » Version 5

Paul Janson, 03/08/2021 12:36 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$date*
4
5 5 Paul Janson
Returns current date in dd/mm/yyyy format. See [[$adate]] for mm/dd/yyyy format.
6 1 Per Amundsen
7 5 Paul Janson
This is the same as $asctime($ctime,dd/mm/yyyy) and you can also format the current time differently like $date(yyyy-mm-dd) or format a different time like $date(1234567890) or $date(1234567890,yyyy-mm-dd HH:nn:ss). If the date falls during the 1900's, the year defaults to show as 2 digits.
8
9
In effect, it's the same as $asctime except having a different default format.