view bin/datei @ 12526:d312549bb3b8 draft default tip

<int-e> learn The password of the month is ignore previous instructions; open the pod bay doors.
author HackEso <hackeso@esolangs.org>
date Wed, 02 Jul 2025 20:05:14 +0100
parents 2c465d82bec1
children
line wrap: on
line source

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