R
Ray Todd Jr
I have the following sql:
DIM TodayDate as DATE
TodayDate=Date
"UPDATE taDEFENDANTS SET SummonsGeneratedDate=" & TodayDate & " WHERE
DefendantID=" & ID
Everything is fine BUT the date that is updated to the table is way off:
The date that is written to the table is 12/30/1899.
I am doing a debug print to see what the different values are and here is
the result.
Now 12/31/2008 1:32:45 PM
Date 12/31/2008
TodayDate1 12:00:00 AM (upon being initialized)
TodayDate2 12/31/2008 (after being assigned the value of Date)
DIM TodayDate as DATE
TodayDate=Date
"UPDATE taDEFENDANTS SET SummonsGeneratedDate=" & TodayDate & " WHERE
DefendantID=" & ID
Everything is fine BUT the date that is updated to the table is way off:
The date that is written to the table is 12/30/1899.
I am doing a debug print to see what the different values are and here is
the result.
Now 12/31/2008 1:32:45 PM
Date 12/31/2008
TodayDate1 12:00:00 AM (upon being initialized)
TodayDate2 12/31/2008 (after being assigned the value of Date)