The method Java.util.Date.getTime();returns an integer that represents unix time ".
The easiest way to read this number as a date is to save it as is and read it using the following Sqlite query:
SELECT strftime('%m-%d-%Y', 1092941466, 'unixepoch');
which returns:
08-19-2004
, strftime .
, , 1000, . "" unix- , Java.util.Date.getTime(); .