renaming variablename from date to time.