08/07/2007 12:00 PM
However, if I put 39301.5 into this statement in SQL:
Expand|Select|Wrap|Line Numbers
- Select cast(39301.5 as datetime)
2007-08-09 12:00:00.000
Its off by 2 days... Whats up with that?
I only ask because I have another app (not excel) that is working like excel and I need it to work like SQL. I know I could simply use DATEADD to adjust the output by 2 days... but I really wonder whats going on.