开发者

C# equivalent to MySQL Data and Time data types

Now Timestamp and DateTime are equivalent to System.DateTime but what do I convert Date and Time to? Do I just convert them t开发者_C百科o DateTime and know on the date or time is set or is their a specific datatype for those? I am using NHibernate as my ORM if it has a specific conversion.


You convert them to DateTime. DateTime has Date and TimeOfDay if you need to seperate them out.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜