Article ID: 139835
Article Last Modified on 3/24/2000
x = {10/24/95 22:00:00} && Initialize date variable to 10 PM Oct 24, 1995
? type("x") && Should return 'T' for DateTime
?x && Should return 10/24/95
x=x+3600 && Add one hour to the time
?x && Should display 11 PM on Oct 24, 1995
x=x+3600 && Add another hour to the time
?x && Should display 12 AM Oct 25, 1995
?ttod(x) && Will display 10/24/95 when you expect 10/25/95
The following two lines show that adding one second to 10/25/95 12:00:00 AM
does allow TTOD() to return 10/25/95 as expected:
x=x+1 && Add one second for 12:00:01 AM Oct 25, 1995 ?ttod(x) && Should return 10/25/95
Additional query words: date
Keywords: kbbug kbfix kbvfp500fix KB139835