Answers for "html datetime set current time php"

PHP
2

php get current time and date

date("Y-n-j G:i:s");
//-->2020-10-29 23:27:15
Posted by: Guest on October-29-2020
0

current date time in php for input

<input type="datetime-local" name="followupon" value=<?php echo date('Y-m-d\TH:i:s'); ?>">
Posted by: Guest on May-03-2021

Code answers related to "html datetime set current time php"

Browse Popular Code Answers by Language