10-13-2008, 08:17 PM
|
#2 (permalink)
|
|
The Frequenter
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
|
First off, you should formulate your variables and so forth.
The most wise thing to do, is to, when people register, post a timestamp with just the time() function or
PHP Code:
list( $microTime, $timeStamp ) = explode( " ", microtime() ); $registerDate = ( $microTime + $timeStamp );
// Or just do this, which is more general but easy. microtime() is only used for timestamp and so forth (query time etc.) $registerDate = time();
That returns the date which can be transformed like so;
PHP Code:
print( date( 'H:i:s d-m-Y', $registerDate ) );
This returns it in every format you want.
If this is not what you mean, please formulate your post a bit more accurate and tell me what your plan is.
__________________
"Life is a bitch, take that bitch on a ride"
|
|
|