1 | <?php |
||
14 | class Utils { |
||
15 | /** |
||
16 | * Gets the unix epoch UTC timestamp |
||
17 | * @return int |
||
18 | */ |
||
19 | 2 | public static function getTime() { |
|
22 | /** |
||
23 | * @return int the current unix time in milliseconds |
||
24 | */ |
||
25 | 1 | public static function getMicroTime() { |
|
28 | |||
29 | /** |
||
30 | * Generates a Globally Unique ID |
||
31 | * @return string |
||
32 | */ |
||
33 | 1 | public static function GUID() { |
|
41 | } |