开发者

PHP Function Strtotime

开发者 https://www.devze.com 2023-01-27 02:51 出处:网络
I am passing a date in \"Y-m-d H:i\" format to strtotime and it is returning 5hou开发者_如何学JAVArs 30 minutes less in result.Make sure you set the timezone correctly. You can use date_default_timezo

I am passing a date in "Y-m-d H:i" format to strtotime and it is returning 5hou开发者_如何学JAVArs 30 minutes less in result.


Make sure you set the timezone correctly. You can use date_default_timezone_set() to set it to what you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消