[WBEL-users] date command

Andrew Vong andrewvong at finpress.com
Mon Jul 4 06:19:48 CDT 2005


Hi,

I am currently using the following command -

date "+%d/%m/%Y" to get me the date in the following format 04/07/2005.

I am trying to set the %d (day) to 1 day before... so when I run --> date 
"+%d/%m/%Y" <-- it should give me yesterday's date (i.e. 03/07/2005)

Can someone help show the way?

Thanks in advance. Appreciate it.

Best Regards,
Andrew



More information about the Whitebox-users mailing list