darkrc/bin/ymd

9 lines
85 B
Text
Raw Normal View History

2023-06-21 07:45:10 +00:00
#!/bin/sh
if [ -z "$*" ]
then
date +"%Y%m%d"
else
date +"%Y%m%d" --date "$*"
fi