say returns something like 20041101174146 Which is basically 2004-11-01 17:41:46. Do you know how I can subtract 15 min from it? I was thinking of making a lot of if conditions (ie for 60 mins, 24 hours, number of days in a month, etc). Just wondering if there is a better waymy $RunDateTime = `date +%Y%m%d%H%M%S`;
In reply to Date Manipulation Calculation Question by EchoAngel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |