Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i display my own local date and time in my web page?

Status
Not open for further replies.

R17

Programmer
Jan 20, 2003
267
PH

hi,

i've come accrossed to different scripts displaying date and time. but everytime i change my computer date and time, the date and time in my page also changes. i know that this is because i am getting the system date and time.

but how do i display my own timezone? pls help. i'm a newbie.

TIA.
 
R,
You can use perl/cgi scripts to display systems date & time on the server.

For client time & date look for Javascript to do it for you

Have a look at the Perl forum, for posts by missbarbell in the last week, she put up a good JS snippet just for this


It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top