View Full Version : Need Simple clarification

04-11-2012, 09: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

04-11-2012, 10: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.