added my_time_function and my_date_string functions