Amends time and date variables