getDateFieldValue and getDatetimeFieldValue return formatted, getDateFieldValue returns a date with time set to midnight