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