11Tami Posted April 5, 2007 Share Posted April 5, 2007 Hello what is microtime supposed to do when you add it to a php function. As an example only: mt_srand((double)microtime()*100000); Please let me know, thank you very much. Link to comment https://forums.phpfreaks.com/topic/45646-what-does-microtime-do/ Share on other sites More sharing options...
MadTechie Posted April 5, 2007 Share Posted April 5, 2007 thst for Random numbers microtime() returns the current Unix timestamp with microseconds. This function is only available on operating systems that support the gettimeofday() system call. R.T.F.M Link to comment https://forums.phpfreaks.com/topic/45646-what-does-microtime-do/#findComment-221692 Share on other sites More sharing options...
11Tami Posted April 6, 2007 Author Share Posted April 6, 2007 So if the Unix timestamp says its 2:00pm in the afternoon how would that convert to microtime? Please somone let me know, thank you very much. Link to comment https://forums.phpfreaks.com/topic/45646-what-does-microtime-do/#findComment-223111 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.