fish/functions/ms-to-utc.fish @ ad3a9d70d78c

w-u-a
author Steve Losh <steve@stevelosh.com>
date Wed, 04 Dec 2019 14:53:08 -0500
parents 0a515c6eb4c4
children (none)
function ms-to-utc -d "convert epoch milliseconds to UTC"
    date -ur (echo -n $argv[1] | sed -e 's/...$//')
end