Date conversions
- Posted by Irv <irv at ELLIJAY.COM> May 26, 1999
- 391 views
Hi: Does anyone have a routine for converting dates in the "Day of our lord Bill Gates" format, i.e. days counted starting with 01/01/1980, into normal MM/DD/YYYY format? Record Actual date BG day bytes as stored 1 01/01/1980 1 25 72 0 0 {37,114,0,0} 2 01/02/1980 2 26 72 0 0 {38,114,0,0} 3 02/01/1980 32 44 72 0 0 {68,114,0,0} 4 01/01/1981 367 93 73 0 0 {147,115,0,0} 5 12/31/1981 731 FF 74 0 0 {255,116,0,0} 6 05/01/1999 7061 B9 8D 0 0 {185,141,0,0} 7 05/02/1999 7062 BA 8D 0 0 {186,141,0,0} 8 05/03/1999 7063 BB 8D 0 0 {187,141,0,0} 9 06/01/1999 7092 D8 8D 0 0 {216,141,0,0} 10 12/31/1999 7305 AD 8E 0 0 {173,142,0,0} 11 01/01/2000 7306 AE 8E 0 0 {174,142,0,0} These are snipped from some VBasic data files, with the "Actual dates" typed in by me. I'll be getting new files every day, which I must turn into reports. It would be really nice to be able to read the dates! Thanks, (please reply before 7092 ADBG) Irv