How do I set the date
using milliseconds and or seconds from epoch?
date -s 127846398127
?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communitydate -s @127846398127
should do it... (But just with seconds, so I'd expect a 10-digit value.)
You need a dot .
separator between seconds and nanos.
date -s @1611850626.716999059