https://youtu.be/srhwc7cvaRo
#1794000000 #UNIXTIME #unixepoch #y2k38 #y2k36
https://youtu.be/srhwc7cvaRo
#1794000000 #UNIXTIME #unixepoch #y2k38 #y2k36
Full Guide Here: ostechnix.com/unix-timesta...
#UnixTimestamp #Unixepoch #POSIX #UTC #Linux #Linuxbasics #Linuxadmin #Python #Javascript #SQL
Full Guide Here: ostechnix.com/unix-timesta...
#UnixTimestamp #Unixepoch #POSIX #UTC #Linux #Linuxbasics #Linuxadmin #Python #Javascript #SQL
create table something (timestamp int default (unixepoch()));
create table something (timestamp int default (unixepoch()));
$ cp $FIREFOXPROFILEDIR/tabnotes.sqlite /tmp/
$ sqlite3 -readonly -header -csv /tmp/tabnotes.sqlite "SELECT id, canonical_url, note_text, datetime(created,'unixepoch','localtime') AS created FROM tabnotes ORDER BY created DESC;"
id,canonical_url,note_text,created
4 […]
$ cp $FIREFOXPROFILEDIR/tabnotes.sqlite /tmp/
$ sqlite3 -readonly -header -csv /tmp/tabnotes.sqlite "SELECT id, canonical_url, note_text, datetime(created,'unixepoch','localtime') AS created FROM tabnotes ORDER BY created DESC;"
id,canonical_url,note_text,created
4 […]
$ cp -p ~/.mozilla/firefox/4q5mj0jg.default-release-2/places.sqlite /tmp/
$ sqlite3 /tmp/places.sqlite -header -csv "SELECT datetime(moz_historyvisits.visit_date/1000000,'unixepoch') AS visit_time, moz_places.url, moz_places.title, moz_places.description FROM moz_places JOIN moz_ […]
$ cp -p ~/.mozilla/firefox/4q5mj0jg.default-release-2/places.sqlite /tmp/
$ sqlite3 /tmp/places.sqlite -header -csv "SELECT datetime(moz_historyvisits.visit_date/1000000,'unixepoch') AS visit_time, moz_places.url, moz_places.title, moz_places.description FROM moz_places JOIN moz_ […]
sqlite> select count(*) from ratings where rater_id = (select id from raters where uid = 'did:plc:565ebob5f6hw33hjdkxty6qj') and created_timestamp > unixepoch('subsec') - 60*60*24*30;
1824
sqlite> select count(*) from ratings where rater_id = (select id from raters where uid = 'did:plc:565ebob5f6hw33hjdkxty6qj') and created_timestamp > unixepoch('subsec') - 60*60*24*30;
1824