datetimeoffset (2)


Transforming from DateTime to DateTimeOffset

You want to transform your system from one state to another. The initial state is when DateTime is used everywhere. The target state is when DateTimeOffset is used everywhere. You want to do it smoothly and introducing as little changes as possible. This might be a plot for the most interesting task to a dead […]



DateTime Pitfalls

If you find some of these things in your application you should double check if your application works correctly with dates and times: Usages of non-UTC aligned date and time Usages of GETDATE() in SQL with the dates from the client without adjustments User input without time zone adjustments Calculations on dates without time zone adjustments […]