Ryan J
02/25/2021, 12:55 PMmoment(someDate).format("DD/MM/YYYY")
Logs out in the correct format, not sure why it's not accepting it.
Do I have to wrap format.format around it?Ryan J
02/25/2021, 1:10 PMformat.parse({
type: format.Type.DATE,
value: moment(ceaseDate).format("DD/MM/YYYY").toString()
})
Not sure why format.format didn't like it - considering moment returns an object - but using toString() and .parse seemed to do the trick.toltmanns
02/25/2021, 2:17 PMbattk
02/25/2021, 2:55 PM