mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-29 23:46:21 +00:00
96d4a3ecf7
Due to historical reasons, the code is in subfolder "1". With SVN removal, we place the code back and remove the annoying "1" folder.
12 lines
219 B
PHP
12 lines
219 B
PHP
<?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');
|
|
}
|
|
}
|