rdatetime to rdate, change datetime type to date only