I suspect that the problem is with the data you're passing to strptime() not the sub itself.
Can you post your code?
In reply to Re: garbage at end of string in strptime
by fishmonger
in thread garbage at end of string in strptime
by manorhce
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |