Coded the get_time_stamp