now (Current client date and time)
The function $now() returns the current client date and time with time zone as new DateTime object.
►NOTE◄ $now() is not a constant and retrievs the current time and date at each call anew. Thus, the following expression '$now() $now()' could list two different times with for example 1 millisecond difference.
Syntax
$now()
Parameter
None
Return value
The current client date and time with time zone as a new DateTime object.