Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hey everyone...need some help...I have a form, that has the different timezones on it, I need to create it so, that when I click on commandbutton1, it will update the current time in each timezone. I've tried everything I could think of, and it comes out wrong. I've tried time - val("01:00:00"), time - val("1"), time - "01:00:00", i've tried a few other things as well, but it is still not giving it correctly...any help will greatly be appreciated... -- dok112 ------------------------------------------------------------------------ dok112's Profile: http://www.excelforum.com/member.php...o&userid=10581 View this thread: http://www.excelforum.com/showthread...hreadid=439989 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sub AB()
Debug.Print Format(Time, "hh:mm:ss") Debug.Print Format(Time + TimeSerial(1, 0, 0), "hh:mm:ss") Debug.Print Format(Time - TimeSerial(1, 0, 0), "hh:mm:ss") End Sub produced: 14:13:08 15:13:08 13:13:08 -- Regards, Tom Ogilvy "dok112" wrote in message ... Hey everyone...need some help...I have a form, that has the different timezones on it, I need to create it so, that when I click on commandbutton1, it will update the current time in each timezone. I've tried everything I could think of, and it comes out wrong. I've tried time - val("01:00:00"), time - val("1"), time - "01:00:00", i've tried a few other things as well, but it is still not giving it correctly...any help will greatly be appreciated... -- dok112 ------------------------------------------------------------------------ dok112's Profile: http://www.excelforum.com/member.php...o&userid=10581 View this thread: http://www.excelforum.com/showthread...hreadid=439989 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Time calculations for Scheduled Time vs. Actual Time Worked | Excel Discussion (Misc queries) | |||
straight time, time and a half, and double time | Excel Discussion (Misc queries) | |||
Calculate Ending time using Start Time and Elapsed Time | Excel Worksheet Functions | |||
template or formula for start time -finish time -total hours ple | New Users to Excel | |||
Calculating days & time left from start date/time to end date/time | Excel Worksheet Functions |