Answers for "Date object for local time and date"

0

Date object for local time and date

now.toLocaleString(undefined, {
    day:    'numeric',
    month:  'numeric',
    year:   'numeric',
    hour:   '2-digit',
    minute: '2-digit',
});
Posted by: Guest on April-25-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language