compare two datetime values from SQL Server with c#

后端 未结 9 2297
终归单人心
终归单人心 2021-01-05 20:48

i want to know how compare two datetime values one who is retreived from sql database and the other is the current one with c#

9条回答
  •  我在风中等你
    2021-01-05 21:32

    I hope you find this article (DATEDIFF Function Demystified) useful, although it's specific to datetime in SQL, it's helpful for understanding how it's handled on the database side.

提交回复
热议问题