开发者

Mysql TimeStamp datatype

I am developing a asp.net web application with ado.net entity framework and MySQL as backend. I have taken some columns in DB as timestamp datatype when I get date from DB these fields of timestamp datatype returns null. In application these fields are mapped as datetimeoff开发者_如何学编程set.


See the accepted answer to this post

How to convert a Unix timestamp to DateTime and vice versa?

You need to adapt the timestamps into datetimeoffset objects in .net.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜