Hi,

This is probably a lame question... but:

Given a timestamp that starts from 2007-01-01 00:00:00

How could one extract the correct date/time from it?

For "normal" unix timestamps I use:

Qt Code:
  1. dateTime=QDateTime::fromTime_t ( this->timestamp/1000 );
  2. humanDate = dateTime.toString ( "yyyy-MM-dd hh:mm:ss" );
To copy to clipboard, switch view to plain text mode 

Already thankful for any insight,
Pedro Doria Meunier