view bin/dateu @ 12521:1298a4f734a6 draft default tip

<int-e> learn The password of the month is 99.964%
author HackEso <hackeso@esolangs.org>
date Sun, 02 Feb 2025 02:05:24 +0000
parents 335a2a849232
children
line wrap: on
line source

#!/bin/bash
set -e
if (( 1 < $# )); then echo "dateu error: too many command-line arguments. Usage: dateu datetimestring"; exit 2; fi
exec date -u ${1:+-d "$1"} "+%Y-%m-%d %H:%M:%S.%3N %z %Z %B %-e %A %G-W%V-%u"