Saturday, February 28, 2009

how to set current time for local computer

Hello all..

My problem is my site is running on a server resides on different
country..

I used to show the current time on a home page.. but It shows me
server time..which is nearly 12 hours behind my country..

I want to show user a time of a computer he or she uses..

P.S. : I used date() function..to show date and time
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: