Universeorange.com/Docs/

R3m/framework Function reference date

{date(String $format, Int $timestamp=time())}

{date()} — date — Format a local time/date

Returns a string formatted according to the given format string using the given integer timestamp, or the current time if no timestamp is given.
In other words, timestamp is optional and defaults to the value of time().

Returns a formatted date string. If a non-numeric value is used for a timestamp, false is returned, and an E_WARNING level error is emitted.

More information:

https://www.php.net/manual/en/function.date.php

Last modified: 2021-06-07

© 2021 universeorange.com