Function to_quakeseconds moved as a private method.