Datetime.php 683 Bytes
<?php
/**
 * PHP OpenCloud library.
 * 
 * @copyright 2014 Rackspace Hosting, Inc. See LICENSE for information.
 * @license   https://www.apache.org/licenses/LICENSE-2.0
 * @author    Jamie Hannaford <jamie.hannaford@rackspace.com>
 * @author    Glen Campbell <glen.campbell@rackspace.com>
 */

namespace OpenCloud\Common\Constants;


class Datetime 
{
    /**
     * Values in s.
     */
    const SECOND = 1;
    const MINUTE = 60;
    const HOUR   = 3600;
    const DAY    = 86400;

    /**
     * Values in ms.
     */
    const MILLISECOND = 1;
    const SECOND_M    = 1000;
    const MINUTE_M    = 60000;
    const HOUR_M      = 3600000;
    const DAY_M       = 86400000;



}