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. Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.