Update:: Since ewhitt wanted not to use any module, I thought it's a one-off case.I don't want to rework on the node as I know how complex date-time can get!! If you people wish, I am happy to have the node reapedmy $db_name="2007_12_13_04_49_15"; my @date=split /_/,$db_name; $date[2]=$date[2]-1; $db_name=join '_',@date;
In reply to Re: How to subtract date by 1 day
by narainhere
in thread How to subtract date by 1 day
by ewhitt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |