1 | <?php |
||
20 | class DbSafeDateTime extends \DateTime { |
||
21 | |||
22 | /** |
||
23 | * @type string db_safe_timestamp_format |
||
24 | */ |
||
25 | const db_safe_timestamp_format = 'Y-m-d H:i:s O e'; |
||
26 | |||
27 | /** |
||
28 | * DateTime object converted to a string that includes the date, time, UTC offset, and timezone identifier |
||
29 | * |
||
30 | * @type string $_datetime_string |
||
31 | */ |
||
32 | protected $_datetime_string = ''; |
||
33 | |||
34 | |||
35 | |||
36 | public function __toString() { |
||
39 | |||
40 | |||
41 | |||
42 | public function __sleep() { |
||
46 | |||
47 | |||
48 | |||
49 | public function __wakeup() { |
||
56 | |||
57 | |||
58 | } |
||
59 | // End of file DbSafeDateTime.php |
||
60 | // Location: EventEspresso\core\domain\entities/DbSafeDateTime.php |