EXTRACTDAY
Returns day value of the date in D