Added IsToday to dates function