Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining a higher precision in timestamp
Message
 
 
To
21/03/2014 12:55:08
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01597037
Message ID:
01597070
Views:
27
>>I asked your question in the first thread that came by the Google Search
>>
>>http://social.msdn.microsoft.com/Forums/vstudio/en-US/c30b3850-a72a-47d4-a197-21efe4afa0c0/mismatch-between-net-datetime-and-sql-server-datetime2-and-datetime?forum=csharpgeneral
>
>It appears that this would be the way to do it. Forcing the SQL Server specific type would then allow it to get through.
>
>Also, Date.Now and DateTime.Now is represented by the same documentation in VB.NET. I believe Date.Now is just for old support as DateTime.Now seems to be the new format to use. Is that your understanding as well?
>
>As for DateTime.MinValue, I am not sure if this is relevant here. In my case, I want the actual time. So, I believe DateTime.Now would do.

DateTime.Now doesn't have precision up to nanosecond according to that documentation.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform