W
Welthey
Currently I have a date and a time field in my table. I need to be able to
combine these two items into one field, but when I try to combine them it is
subtracting 2 days off of the actual date. My table is in SQL. Is there any
way around this, this is the code that I am using
update dbo.purgedrecords
Set [datetime] = AuthDate + convert(datetime, AuthTime)
Previously this was working when the default date on the time was 01/01/1900
and then somehow something changed and the default date is now showing as
12/30/1899. Is there different code that I can use to keep this from
happening in the future?
combine these two items into one field, but when I try to combine them it is
subtracting 2 days off of the actual date. My table is in SQL. Is there any
way around this, this is the code that I am using
update dbo.purgedrecords
Set [datetime] = AuthDate + convert(datetime, AuthTime)
Previously this was working when the default date on the time was 01/01/1900
and then somehow something changed and the default date is now showing as
12/30/1899. Is there different code that I can use to keep this from
happening in the future?