return string for time and decimal