Re: [PHP] How to get a unixtime with micro/mille seconds
Mathijs wrote: Hello, I Want to have a unique time stamp. And for this i want to use the normal timestamp but it is possible that the seconds are the same, so i want to add the micro/milli seconds to the end of it. So when i have something like this as unixtime 1134989511 It wil be 113498951100 or even 1134989511. Where 00(00) will be the micro/milli time. Is there a simple way to get this? http://php.net/microtime -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to get a unixtime with micro/mille seconds
Mathijs wrote: I Want to have a unique time stamp. And for this i want to use the normal timestamp but it is possible that the seconds are the same, so i want to add the micro/milli seconds to the end of it. So when i have something like this as unixtime 1134989511 It wil be 113498951100 or even 1134989511. Where 00(00) will be the micro/milli time. Is there a simple way to get this? Heh, you were so close to it :] http://www.php.net/microtime bye, N:: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to get a unixtime with micro/mille seconds
Hi, use microtime function. Zareef Ahmed - Original Message - From: Mathijs [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, December 19, 2005 5:58 AM Subject: [PHP] How to get a unixtime with micro/mille seconds Hello, I Want to have a unique time stamp. And for this i want to use the normal timestamp but it is possible that the seconds are the same, so i want to add the micro/milli seconds to the end of it. So when i have something like this as unixtime 1134989511 It wil be 113498951100 or even 1134989511. Where 00(00) will be the micro/milli time. Is there a simple way to get this? Thx in advanced. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php PHP Expert Consultancy in Development http://www.indiaphp.com Yahoo! : consultant_php MSN : [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] How to get a unixtime with micro/mille seconds
Zareef Ahmed wrote: Hi, use microtime function. Zareef Ahmed - Original Message - From: Mathijs [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, December 19, 2005 5:58 AM Subject: [PHP] How to get a unixtime with micro/mille seconds Hello, I Want to have a unique time stamp. And for this i want to use the normal timestamp but it is possible that the seconds are the same, so i want to add the micro/milli seconds to the end of it. So when i have something like this as unixtime 1134989511 It wil be 113498951100 or even 1134989511. Where 00(00) will be the micro/milli time. Is there a simple way to get this? Thx in advanced. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php PHP Expert Consultancy in Development http://www.indiaphp.com Yahoo! : consultant_php MSN : [EMAIL PROTECTED] Well i knew about microtime(). But i hoped i didn't had to use substr() to extract the unique numbers :). But this will work also. Anyway thx for the help. Kind Regards, Mathijs. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php