I have a column of date in jdn
format. I want to migrate my date format from jdn to Java Calendar.getTimeInMillis()
that is equal to sqlite unixepoch
.
here is sample migration code.
ALTER TABLE TABLE_TIMES ADD COLUMN millies INTEGER
UPDATE TABLE_TIMES SET millies = ????
-- ALTER TABLE for DELETE COLUMN jdn
how i can convert jdn
to unixepoch
. what should i use instead of ????
?