Answers for "php get current data"

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
1

date now php

date("Y-m-d H:i:s");
Posted by: Guest on October-21-2020

Browse Popular Code Answers by Language