S2OJ/uoj/1/app/models/UOJTime.php

12 lines
219 B
PHP
Raw Normal View History

2016-07-18 16:39:37 +00:00
<?php
class UOJTime {
public static $time_now;
public static $time_now_str;
public static function init() {
self::$time_now = new DateTime();
self::$time_now_str = self::$time_now->format('Y-m-d H:i:s');
}
}