Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
About Us Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old November 4th, 2002   #1 (permalink)
Single
 
SnakeBite's Avatar
 
Join Date: Apr 2002
Location: Norway
Posts: 667
PHP question: Sever time?

I've seen several places which shows the server time, and not your own local time. How do you do this? I can't find any command that gets the server time. :confused:
__________________
This is my new improved sig.
SnakeBite is offline   Reply With Quote
Old November 5th, 2002   #2 (permalink)
NSBQ nut
 
Nezzar's Avatar
 
Join Date: Aug 2001
Location: .de
Posts: 1,208
???
Why not use time() and convert it using date()?
__________________
Bred for its skills in magic
Nezzar is offline   Reply With Quote
Old November 6th, 2002   #3 (permalink)
ShADoWFLaRe85
Guest
 
Posts: n/a
Server-side programming displays server time. So, in ASP, this woud be "Now" and as Nezzar stated, in PHP, you use "time()"

The users' own local time would be input by a client-side script.
  Reply With Quote
Old November 7th, 2002   #4 (permalink)
Single
 
SnakeBite's Avatar
 
Join Date: Apr 2002
Location: Norway
Posts: 667
I see. didn't know that. thanks for the tip.
__________________
This is my new improved sig.
SnakeBite is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:21.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5