dd/mm/yyyy format to dddd dd/mm/yy code example
Example: Convert a date to yyyy mm dd format
const formatYmd = date => date.toISOString().slice(0, 10);
formatYmd(new Date());
const formatYmd = date => date.toISOString().slice(0, 10);
formatYmd(new Date());