Hi,
I want to know about the PHP function for date that will show me milliseconds?
I want to show Day-Month-Year Hours-Minutes-Seconds-Milliseconds
Can you please help me with this?
Hi,
I want to know about the PHP function for date that will show me milliseconds?
I want to show Day-Month-Year Hours-Minutes-Seconds-Milliseconds
Can you please help me with this?
Hi,
For PHP date function you must go through these previous topics.
1. MySQL date & time function.
And
2. Date function in PHP
I hope this will help you, Ill try to find & answer you for showing millisecond too.
Hi,
If you want to show milliseconds, then first you need to get the microtime,
Now add the values & multiply it by 1000.
Do as follows
I hope this helps you!Code:list( $msecs, $uts ) = split( ' ', microtime()); echo floor(($uts+$msecs)*1000);
If you want to go for detail information on PHP date function & milliseconds.
Please refer the PHP site.
http://in.php.net/microtime
Bookmarks