rwxrob-dot/scripts/now
Rob Muhlestein 2ea0289e9f Rebase
2022-02-09 02:29:05 -05:00

7 lines
141 B
Bash
Executable File

#!/bin/sh
if [ -z "$1" ]; then
echo $(date "+%A, %B %e, %Y, %l:%M:%S%p %Z")
else
echo $(date "+%A, %B %e, %Y, %l:%M:%S%p %Z" -d "$*")
fi