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