T
Tom Van Overbeke
Hi,
I need a way to use yesterday's date in a variable. The tricks with 'date'
don't work on my system, but perl does.
so i've got:
perl -le 'print scalar localtime time - 86400' which outputs:
Sun Oct 30 17:56:52 2005
But the format I need is: 30.10.05
Any ideas on how to add this to the above piece of code ?
thanks,
tom.
I need a way to use yesterday's date in a variable. The tricks with 'date'
don't work on my system, but perl does.
so i've got:
perl -le 'print scalar localtime time - 86400' which outputs:
Sun Oct 30 17:56:52 2005
But the format I need is: 30.10.05
Any ideas on how to add this to the above piece of code ?
thanks,
tom.