Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating precised timestamps
Message
From
01/09/2021 10:52:06
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Updating precised timestamps
Miscellaneous
Thread ID:
01682235
Message ID:
01682235
Views:
57
I am trying to do this :
UPDATE Projet SET DateMaximum='2021-07-31 23:59:59.999' WHERE ID=1
I discovered that SQL Server saves it as 2021-08-01 00:00:00.000.

If I use 998 milliseconds, it saves it as 2021-07-31 23:59:59.997'.

All other values are working.

Why it is that 998 and 999 milliseconds cause such a reactiom?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform