parseTimestamp example

var $minute;
    var $second;
    var $timezone;

    /** * PHP5 constructor. */
    function __construct( $time )
    {
        // $time can be a PHP timestamp or an ISO one         if (is_numeric($time)) {
            $this->parseTimestamp($time);
        } else {
            $this->parseIso($time);
        }
    }

    /** * PHP4 constructor. */
    public function IXR_Date( $time ) {
        self::__construct( $time );
    }

    
Home | Imprint | This part of the site doesn't use cookies.