pm_ltime

Returns the specified date in the format defined in the $def_time_format global variable.

Syntax

pm_ltime ($timestamp, $format, $gmdate)

Parameters

timestamp

      A string value with the specified time. Optional. Is equal to the current time by default.

format

      A string value with the format of the time passed in. By default, the string is empty (' ').

gmdate

      A boolean value that is true if the resulting time should be GMT (Greenwich Mean Time), false otherwise. Is false by default.

Returns

A string value with the time formatted according to the mask stored in the $def_time_format global variable.

Remarks

If the format parameter is empty, the format of the $def_time_format global variable will be applied.

Include: pm.php.