date object for local time and date

Solutions on MaxInterview for date object for local time and date by the best coders in the world

showing results for - "date object for local time and date"
Tom
25 Sep 2016
1now.toLocaleString(undefined, {
2    day:    'numeric',
3    month:  'numeric',
4    year:   'numeric',
5    hour:   '2-digit',
6    minute: '2-digit',
7});