1. I want to get yesterday date. I have tried Use::Format qw(time2str,"%Y/%m/%d")but it doesn't work.
2. i want to generate a data in a program with date of last month.
Edit by tye to preserve formatting and since single-word titles complicate future simple searches