Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-18-2002, 11:59 AM   PM User | #1
EdScript
New Coder

 
Join Date: Jun 2002
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
EdScript is an unknown quantity at this point
Time Zone

Does anyone know how to convert a non-Eastern Standard Time Date/Time to EST ?
Thanks, Ed

Ie: Convert a current ‘CST’ date/time in Iowa to an EST date/time

example:
Time in Iowa (CST 02/20/02 09:46)
Convert to: EST 02/20/02 10:46

Curr_zone =‘CST’
Curr_Date = ‘02/20/02’
Curr_Time = ‘09:46’
EST_DATE_TIME = convert_to EST(Curr_zone Curr_Date Curr_Time )
EdScript is offline   Reply With Quote
Old 09-18-2002, 03:12 PM   PM User | #2
Roy Sinclair
Senior Coder

 
Join Date: Jun 2002
Location: Wichita
Posts: 3,880
Thanks: 0
Thanked 0 Times in 0 Posts
Roy Sinclair will become famous soon enough
Yes, you add or subtract the number of hours between the time zones. If you want more detail, you'll have to provide more detail.
Roy Sinclair is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 05:51 AM.


Advertisement
Log in to turn off these ads.