Applies To: |
|
Summary: |
I have a Citect Form in which the operator
enters a date and time for data logging
Simply adding the date and time returned from the form does not work on the day daylight saving changes.
I have found iDate is one hour ahead of the time the operator entered. |
Solution: |
This is a logic problem caused by daylight
saving.
Citect stores times in seconds from January 1, 1970. When daylight saving occurs at 1:59:59 am and the clocks are wound forward to 3:00:00 am, the time only changes by 1 second. StrToDate() returns the time at 12am on a given date, before
daylight saving is applied. See also Q2330.
|
Keywords: |
Related Links