Do you really need to convert the time to a string? I think httparty will take care of that for you. If you do, `.to_s` is the more idiomatic way to do the conversion.