thanks, but what i meant is this:
now with
date=`date -u +%m/%d/%Y`
echo "$date"
"02/22/2004" will be displayed.
how to get the string "02/21/2004"?
(date command will give me Mon Feb 23 11:06:04 SST 2004)
(date -u shows: Mon Feb 23 03:06:04 UTC 2004)
Last edited by lifetaster; 02-22-2004 at 09:09 PM.
|