Improvements in time and string conversions