tsql - SQL Server T-Sql Convert filetime to datetime -


I have to convert a file-time-value value to a Datetime format via T-SQL in SQL Server

< P> I have implemented the following formula to do that works perfectly for positive values ​​(> 0). But in any way this thread does not work for negative values ​​and it returns zero values.

  Select LastModifiedTime, when the last end date is  

I had tried sample values ​​

  • -
  • / Li>
  • / li>

    case when the last modified time is & lt; = 1 Null now

    This is doing what you said to it.


    Comments

    Popular posts from this blog

    c# - How to capture HTTP packet with SharpPcap -

    php - Multiple Select with Explode: only returns the word "Array" -

    php - jQuery AJAX Post not working -