Indeed. That entire sequence of shelling out to get date components can be replaced in one of several ways. perldoc -f localtime will give you info on one approach.
In reply to Re: Modifying date/time stamps
by dws
in thread Modifying date/time stamps
by semio
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |