开发者

Retrieving date time value upto a millisecond using the DATE() function

By using the function Date(ymdHis) i am able to retrieve the value of the current date and time until seconds.

I wanted to find 开发者_高级运维out what do we need to do so that we retrieve even until a milli second.


microtime() returns the current time with microseconds. You will have to parse them by hand, though, date() can deal only with second-based timestamps.

Check out this User Contributed Note for an example on how to deal with it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜