Hacker News new | ask | show | jobs
by Hello71 2271 days ago

  date -d @$1 +%Y-%m-%d
1 comments

$ date -R Gets you very close with fewer characters
I mean, if you're not fixed on the output format, then date +%c.