$date = join "/", map $_+0, split m[/], $date;
Not sure if I like the idea of stripping those zeroes though. Probably better to store the date in a saner format (Epoch seconds maybe?), then use POSIX::strftime() to generate the desired date format.In reply to Re: Re: Reg expression on day
by trammell
in thread Reg expression on day
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |