Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining a higher precision in timestamp
Message
From
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:
01597068
Views:
35
>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.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform