Re: Question about date

2006-08-05 Thread Philip Rowlands
ere a utility to get yesterday's date in formats 060805 and 20060805? With coreutils date this works - I don't have a Solaris system to test on, but I'd assume it's similar: $ date +%Y%m%d 20060806 $ date +%y%m%d 060806 Cheers, Phil ___

Question about date

2006-08-05 Thread Lum
Hi, I see you can use b to get an abbreviated month such as Aug but how do I get it in upper case (AUG)? On Solaris is there a utility to get yesterday's date in formats 060805 and 20060805? I will be using it in a shell script. Thank you very much. Sincerely,