Project

General

Profile

Actions

Added in 1.9.0

$date

Returns current date in dd/mm/yyyy format. See $adate for mm/dd/yyyy format.

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.

In effect, it's the same as $asctime except having a different default format.

Updated by Paul Janson over 3 years ago · 5 revisions

Also available in: PDF HTML TXT