Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript current date time

var today = new Date().toLocaleDateString(undefined, {
    day: '2-digit',
    month: '2-digit',
    year: 'numeric',
    hour: '2-digit',
    minute: '2-digit',
    second: '2-digit'
})
Source by www.toptal.com #
 
PREVIOUS NEXT
Tagged: #javascript #current #date #time
ADD COMMENT
Topic
Name
8+4 =