moment convert iso to mm/dd/yyyy code example
Example 1: how to get iso date with moment
moment().toISOString(); // or format() - see below
Example 2: moment yyyy-MM-ddTHH:mm
moment().format("YYYY-MM-DD[T]HH:mm:ss");
moment().toISOString(); // or format() - see below
moment().format("YYYY-MM-DD[T]HH:mm:ss");