Options for parsing dates


I’ve got some json being fed to me and I need to specify the format of what I’m receiving when I parse it (the month and day are not the same way round as new Date(...) or Date.parse expects.

Is anything like Dayjs or moment available in the Function or FunctionItem node?

Hey @commandodev, perhaps this helps? https://docs.n8n.io/reference/configuration.html#use-built-in-and-external-modules-in-function-nodes :slight_smile:

1 Like

@commandodev did you have a look at the Date & Time node?