added time2timestr, timestr2time and decstr2int functions