My script is the following:
myDate=`date +%Y-%m-%d`
FYI, this date format is so common it has a shortcut: "date +%F".
-- Rodolfo J. Paiz rpaiz@xxxxxxxxxxxxxx
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list