If it's a fixed format input string, I wouldn't bother with strftime. I'm guessing that something as simple as the following should work:
my $date = "01/09/2012"; $date = join("-", reverse split /\//, $date), " 12:00:00";
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: Date Convert
by roboticus
in thread Date Convert
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |