calc current day in widget