Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

SQLite convert TimeStamps to date and time

$
0
0
Hi here

I been messing around with timestamps in SQL databases, my problem is how do I convert this 40660.9454658044 timestamp to human readable date & time?

I found out this excellent website http://www.epochconverter.com/#tools but this timestamp is in another format, in SQL I tried DATEADD(s, '40660.9454658044', '1970-01-01 00:00:00') but no success .

Here i found a TIMESTAMP() function http://www.w3schools.com/sql/sql_datatypes.asp but doesn't work :(

Anyway to convert this?

EDIT: 40757.6542476852 = 01-08-2011 16:42  = dd-mm-yyyy hh:mm but I don't know how to convert it :(

Viewing all articles
Browse latest Browse all 12506

Trending Articles