Skip to content

cDate::AsAMPM()

Rainer Stötter edited this page May 9, 2017 · 10 revisions

Method AsAMPM( )

 public   string libdatephp\cDate::AsAMPM()

AsAMPM() returns the representation of the date - with AM (ante meridiem) / PM (post meridiem) in uppercase

Example:

use libdatephp;

$dt = new cDate( 11, 23, 2016 );

echo $dt->AsAMPM( );

Returns

string the date string with AM/PM

See also

Clone this wiki locally