wallet
This commit is contained in:
12
app/Tools/Times.php
Normal file
12
app/Tools/Times.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace App\Tools;
|
||||
|
||||
class Times
|
||||
{
|
||||
//获取当前时间
|
||||
public static function getNowDateTime($format = 'Y-m-d H:i:s'): string
|
||||
{
|
||||
return date($format);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user