-
Notifications
You must be signed in to change notification settings - Fork 0
cDateTime::AsSQL()
Rainer Stötter edited this page Apr 28, 2017
·
9 revisions
public string libdatephp\cDateTime::AsSQL()
- Namespace : libdatephp
- Class name: cDateTime
- This method is defined by libdatephp\cDateTime
AsSQL( ) returns the timestamp as a string in year-month-day notation
Example:
use libdatephp;
$dtm = new cDateTime( '2016-12-22 05:00:00' );
echo $dtm->AsSQL( );
string the string representation of the timestamp
This wiki page is part of the documentation of the PHP class library libdatephp