Skip to content

cDate::AsUTC()

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

Method AsUTC( )

 public   string libdatephp\cDate::AsUTC()

AsUTC() returns the UTC representation of the date - with an offset of the timezone in seconds

Example:

use libdatephp;

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

echo $dt->AsUTC( );

Returns

string the date string with the UTC

See also

Clone this wiki locally