Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to set current date and time in jquery datetime-local

$("#startDate").val(new Date().toJSON().slice(0,19));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #current #date #time #jquery
ADD COMMENT
Topic
Name
5+1 =