This is a discussion on "Calculating time difference" within the JavaScript Forum section. This forum, and the thread "Calculating time difference are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Calculating time difference
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Calculating time difference
I want two blank textboxes, two dropdown boxes with options (AM/PM) two dropdown boxes with options (EST,CST,MST and PST) and one command button.
If I enter a time in the first blank textbox, select AM from the next dropdown and select EST from the next dropdown Similarly, If I enter a time in the second blank textbox, select AM from the next dropdown and select PST from the next dropdown After clicking on the command button, it should calculate the time difference of the time given in the two textboxes taking the different timezones into consideration and give a messagebox |
|
|
|
|||
|
Is this assuming that all the times in the first box are in GMT?
I think you need to add in another pair of dropdowns. Box - DropdownAM1 - DropdownTime1 - Box - DropdownAM2 - DropdownTime2 - Command That way you can pick what timezone you want to convert it from. Doesn't help you make it but it does add more functionality to it, since then you can work out more than just one timezone difference. 8) |
![]() |
| Tags |
| calculating, time, difference |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| font difference IE7 and the others | stupid dog | Web Page Design | 1 | Aug 24th, 2007 20:53 |
| The difference | moshe | Webforumz Cafe | 4 | Jan 28th, 2007 19:52 |
| Php . asp, asp net difference | maksinx | PHP Forum | 3 | Aug 15th, 2006 10:39 |
| Adjusting time from server time to local time | Tim356 | Classic ASP | 10 | Jun 21st, 2004 14:57 |
| Date Difference | ekendricks | Classic ASP | 4 | Aug 22nd, 2003 10:19 |