bij*_*ngo 0 php date strtotime
echo mydate(strtotime('1 am first day of this month'));
Run Code Online (Sandbox Code Playgroud)
以上是结果2017-10-01 01:00:00,但我很难在凌晨0点做到.两者都24am, 24pm, 0pm, first second不起作用.
用途midnight:
echo mydate(strtotime('midnight first day of this month'));
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
365 次 |
| 最近记录: |