For anything involving dates/times in perl I always look for a module in the DateTime family, especially if it involves time-zones. Sometimes you end up writing a little more code, but the result is correct and the modules work with each other.
Probably something like DateTime::Format::Strptime for this.
In reply to Re: Format date string
by thargas
in thread Format date string
by znoopy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |