Use string input for time