HEX-1841 - Added as.Date functionality