getting local users time

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
anthony88guy
Forum Contributor
Posts: 246
Joined: Thu Jan 20, 2005 8:22 pm

getting local users time

Post by anthony88guy »

Im pretty sure I heard somewhere that you can use javascript and php together to get the users time, But I dont see how this would be possible.

Thanks.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you don't really mix them per se, but simply pass the timezone offset information from javascript to php so it can calculate the time..
Post Reply