...

View Full Version : Need Simple clarification



saraswat19
04-11-2012, 10:29 AM
I want to ask that if I use
<?php echo date('m-d-y H:i:s');?> on my localhost (local server).
which date and time it returns..??
Is it my pc's time or what..??
Thanks in advance

Nightfire
04-11-2012, 11:31 AM
By default, date returns the time on the server, so if your server is on your pc, then it'll show that time.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum