debugging today's date problem