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.
精彩评论