nix/home/program/bash/module/Date.sh

10 lines
134 B
Bash
Raw Normal View History

2024-12-18 10:54:24 +03:00
# Print today date in yyyyMMdd format.
function today() {
date +%Y%m%d
}
# Current day of week number.
function dow() {
date +%u
}