Bsd date
From wikinotes
date formats the current date, or translates between date formats.
You may also be interested in gnu date.
date +'%Y-%m-%d' # 2021-08-06
date formats the current date, or translates between date formats.
You may also be interested in gnu date.
date +'%Y-%m-%d' # 2021-08-06