Format date at 'YYYY:MM:DD HH:MM;SS'

You don't need moment for this anymore as @TotallyInformation stated, it is part of javascript, moment is more convoluted imo.

const event = new Date('23 Nov 2023 17:45:00');
const jsonDate = event.toJSON();

node.warn(jsonDate);
// "2023-11-23T16:45:00.000Z" = UTC

node.warn(event.toLocaleString('en-GB', { timeZone: 'UTC' }));
// "23/11/2023, 16:45:00"

node.warn(event.toLocaleString('ko-KR', { timeZone: 'UTC' }));
// "2023. 11. 23. 오후 4:45:00"

node.warn(event.toLocaleString('us-US', { timeZone: 'America/Los_Angeles' }));
// "11/23/2023, 8:45:00 AM"

Recommendation: always use ISO8601 notation in logs.