Answers for "get curretn date php"

PHP
2

php current date get

date_default_timezone_set('Asia/Kolkata'); 
echo date("Y-m-d H:i:s"); // time in India
Posted by: Guest on February-26-2021
-4

php get date

date("Y-m-d h:i:sa")
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language