Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

current date time in php for input

<input type="datetime-local" name="followupon" value=<?php echo date('Y-m-dTH:i:s'); ?>">
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #current #date #time #php #input
ADD COMMENT
Topic
Name
2+1 =