Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi everyone I wrote a couple functions, which allow me to convert time strings as used in astronomy ("2006-230T14:55:00") to a regular Date Type, and vice versa. As I finished these functions, I started reading about negative time, and how Excel can not handle negative time, unless you use the 1904 time system. So, I switched to the 1904 time system, but now all the functions I wrote create dates that are 4 years and 1 day off... :-( How can I update the functions, so that they now work in the 1904 time system? I attached the module with the functions, in case you need that to answer my questions. Thanks! Emma +-------------------------------------------------------------------+ |Filename: Module1.bas.txt | |Download: http://www.excelforum.com/attachment.php?postid=5181 | +-------------------------------------------------------------------+ -- embirath ------------------------------------------------------------------------ embirath's Profile: http://www.excelforum.com/member.php...o&userid=37202 View this thread: http://www.excelforum.com/showthread...hreadid=570926 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
1904 negative time | Excel Discussion (Misc queries) | |||
1900 vs 1904 date functions | Excel Worksheet Functions | |||
system time and date | Excel Programming | |||
what if system time is changed? | Excel Programming | |||
datepicker on 1904 date spreadsheet | Excel Programming |