'out' variable can occasionaly be treated as int and resulting in parameter error for str.replace(something,out).

it gives an error if you have an argument like:
start: 1961010100
and it treats 1961010100 as an integer.
Maybe this is not the better solution for it, but the bug is pointed out.

This solution fits WORKSFORME status.