This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Provides backwards support for php 5.2's lack of setTimestamp and getTimestamp | |
*/ | |
class DateTime_52 extends DateTime{ | |
/** | |
* Set the time of the datetime object by a unix timestamp | |
* @param int $unixtimestamp | |
* @return DateTime_52 |
NewerOlder