Trouble with GetDate()

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
User avatar
DuffMAn
Forum Newbie
Posts: 17
Joined: Thu Apr 03, 2003 4:53 pm

Trouble with GetDate()

Post by DuffMAn »

hi, I use this function to see the date and hour, obviously, but the server give me it´s hour not mine, example, it give me the Spain hour, but I need Argentine hour.

See ya..
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

since your php-script runs on the server getdate() will return the server's time.
But take a look at viewtopic.php?t=5199 and viewtopic.php?t=3605
Post Reply