unusual date format

  • I am writing a query to extract some data from an application. The dates are held in an unusual format eg. 1220438820 somehow equals to Year -2008 Month-9 Day-3 Hour -10 Minute-47. Is anyone aware of what this format is and how I can convert it ?

  • Thats the number of seconds from 01-jan-1970.

    Select dateadd(ss,1220438820,'19700101')



    Clear Sky SQL
    My Blog[/url]

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply