Remix.run Logo
augusto-moura 2 days ago

The date command is not wrong, it works on GNU date, if you are in MacOS try running gdate instead (if it is installed):

   gdate -u -d @1775060800
To install gdate and GNU coreutils:

  brew install coreutils
The date command still prints the incorrect value: Wed Apr 1 16:26:40 UTC 2026
neonstatic 2 days ago | parent [-]

Good catch, I just ran it verbatim in iTerm2 on macOs:

date -u -d @1775060800

date: illegal option -- d

btw. how do you format commands in a HN comment correctly?

augusto-moura 2 days ago | parent [-]

Start the line indented with two or more spaces [1]

[1]: https://news.ycombinator.com/formatdoc