-
Notifications
You must be signed in to change notification settings - Fork 0
cDate::AsUTC()
Rainer Stötter edited this page May 9, 2017
·
10 revisions
public string libdatephp\cDate::AsUTC()
- Namespace : libdatephp
- Class name: cDate
- This method is defined by libdatephp\cDate
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( );
string the date string with the UTC
This wiki page is part of the documentation of the PHP class library libdatephp