Results 1 to 2 of 2

Thread: Date format

  1. #1
    Join Date
    Jul 2012
    Posts
    1

    Question Unanswered: Date format

    I have a .db file...

    I can view everything correctly but the time and date show in some very unusual format....
    for example...

    7/10/2012 0:16
    is displayed as
    1341861888064

    Please help me how can I convert...
    1341861888064 to 7/10/2012 0:16???

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    that's weird

    but look at this --

    SELECT FROM_UNIXTIME(1341861888064 / 1000)

    2012-07-09 15:24:48
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •