Issue #1: converting strings to ints before mktime

Hopefully this will iron out the trouble that we had.