php current date get

Solutions on MaxInterview for php current date get by the best coders in the world

showing results for - "php current date get"
Enoch
29 Nov 2017
1<?php
2echo "Today is " . date("Y/m/d") . "<br>";
3echo "Today is " . date("Y.m.d") . "<br>";
4echo "Today is " . date("Y-m-d") . "<br>";
5echo "Today is " . date("l");
Valentino
23 Oct 2017
1$today = date("F j, Y, g:i a");   // October 30, 2019, 10:42 pm
2$today = date("D M j G:i:s T Y"); // Wed Oct 30 22:42:18 UTC 2019
3$today = date("Y-m-d H:i:s");     // 2019-10-30 22:42:18(MySQL DATETIME format)
Jonathan
15 Oct 2020
1date_default_timezone_set('Asia/Kolkata'); 
2echo date("Y-m-d H:i:s"); // time in India
queries leading to this page
today datetime in phphow to get current time and date in phpecho today date in phphow to set date and time phpphp current dathow to get the current datetime in phphow to get the datetime today in phpphp function datetime 28today 2c mtime 29php get fully qualified current date timecurrent timestamp phpphp date now 28 29date current phphow to get the current date and time in phpphp datetime get current date timecurrent date and time in phpphp get actual time and datehow to display today date in phpphp date todayget todays date phptoday date in seconds phpfonction date today phpphp datetime currentcurrent date y m d phptime now in php current date print in phpfunction in php to get the current time and dateget today 27s date inphpphp get current date and time and timehow to display time using phpphp get system datephp date time functionsphp check current dataphp getting current datephp show current date and timephp how to get time 28 29 from datedat day in phpnow phpphpdate and time functionsget current time inphpcurrent date echo in phpcurrent date en phpdate is today phpcurrent data time phpcurrent date in php using inbuilt functionin php get current dateset to the date today phpdate 28 22h 3ai 3as 22 29 3b is js or phpphp timestamp nowdisplay current date and time in phpphp get date and timephp date time is it from todaycurrent date 28 29 phpphp set current system timephp how to get current datetimehow to get the current date in phpphp get current date and time in secondsprint today if date is today in phpphp get current date and time for mysqlphph get now date timeget current date with time in phpphp find current datephp today 27s date timestampcurrent date datetime phpphp today objectphp current date current datetime in phpphp get datenowcreated at time to number phpget today record in phpphp get current datetime pcwhere current datetime in phpdate formate with pc time in phpyear function phpdate current in phpphp time in htmlphp print date timeget current time and date in phpphp date todaydate today in phpset to current date in phpget current date in ms phpget today date in phpget the cuurent date time in phpgetting current date in phpget today date phpphp today 27s date and timephp function sql timestamp to date and timecreate today date with time in phpcurrent system datetime in phpsend date with 25 phpphp sql where time todayhwo to print date in phphow to take the date in phpphp get current dateand timehow tto get system date in phpget current date time in javasscript for specific regionhow to get current datetime in phpphp display date time nowphp current date in datetimeget current date php from nowphp time now timestampcheck current datetime in phpphp working with datedisplay today 27s date in phpdisplay the date of today phphow to get the date in phpget the current date and time phptime now phplocahost 2fphp 2fphpdates phpphp todayphp actual datetimecurrent date in phpphp w3 datephp get the current datetimehow to get date phpcurend date phphtodays date in number phptimestamp to date phpphp dtoday datephp get current time in format with datetime classphp date 28 29retrieve date and time in echo phpdate 28 29 in phpprint today date and time in phpphp today timeprint days phpcurrent data and time in phphow to add input in form 27y m d h 3as 3ai 27 htmlfind given date is today in phpfull date dispaly in phpphp get idex of datephp mysql today dategetting through current data phpset current date phpecho current date and time phphow to sgow data in y 2fm 2fddatetime current time in phpphp rtimecurrent datetime phpdata phpphp echo date todaytoday in phpphp echo datetime todaytoday date in pjpphp print tne current datetimecurrentdatetime phpphp current date setphp check time yearhow to get date in phpphp get current server timecurrent date timestamp in phpdatetime 28today 2c mtime 29 phphow to print current date and time in phphow to choose today 27s date phpphp cureent datefind date in phphphp today datehow to check date is current date in phpphp get today dat in m 2fd 2fyget new date value phphow to display current date and time in date in phphow to know the day php dateget exact date and time in phphow to get today number in phpcurrent date phpreturn current time in phpphp get datephp todaydatehow to store current time in variable in phpget date from timestamp phpget current date time using new date phpphp script that will display current date and timeset current date time in php 27php date currentget current time day and date in phpphp get today datetime with diferent timefunction used to print current date and time in phpshow time phpnow 28 29 php system timephp current date onlyhow toshow date in phpphp get current dayphp current date as stringtoday date how to do in php current date in string phphow to get data from today in phpphp how to get today 27s dategetting todays date in phpphp date if todaydisplay the date and time in phpget current date php datetimeget today 27s day phpcurrent date string phpcurrent date 28 29 in phpphp get today dayphp value of dateget currenct timestamp phpphp datetime current datephp get current date time to printcurrunt date time in phphow to define a current datetime in phpphp todays date functionphp code to print current datehow to declare date variable in phpget current datetime object phpexact time in phpphp new current datetimephp get date nowget today 27s day in phptake the current datatime phpcurrentdate function in phpphp how to get todays data and hourtodays date phpphp create today datephp for current datephp get the datehow to enter the current date in phpget current date and dare in phpget current date full in phpcheck given date is today in phpphp crrent timephp get current datetime in secondsget current date with specific time in phpphp today date 2b 1save the actuall date phpprint today date in phpcurrent time phpget current local date and time in phpget today datet phpphp how to get current date and timeget the actual date phpget full day and month in php formatphp code to print curent datetimephp datetime nowphp current date time functionreal date time in phpget current date server phpcurrent time date in php 3c 3fphp echo date 28s 29 3f 3eget date now 28 29 phptodayin phpget full date current in phpget today date time i phpget actual data phphow to get what is today in phpreact show current timephp current date without timenew date time get current time phpphp date current datedate and time php formateddate time in phpcurrentdate in phphow to get current data in phpnow on phphow to get the current order 27date in phphow to get the current date inphphow to display current date and time in phptoday number phpphp get date timecureent date in phpget current date php 7today code using date function in phpphp get data from todayphp show current datephp curent datetimecurrent date and time phpget time phptodays day phpphp code to get current date and timedate 28 22y m d 22 29 3bget system date in phptime and date time and date phpadd todays date in phpstore current date in phpget today date with time in phpget time from date phpphp get date today in a stringset current date in phpphp j datetime get current datephp today date format phpecho today 27s date in phpphp today functionget today 27s date in a years time phpget current date of phptoday date format in phpphp automatic dateprint current date 2c time phpget current date time phptodays dat phptoday day phpphp return current datesave a actuall date phpecho now date and time phpdisplay current date phpphp current 5chow to get the time and date in phpphp get today 27s date timestampphp get date and time nowphp program to find todays datecurrent date in php databasefunction to get current date and time in phpphp get current time and datephp function to get current datecurrentdate in unix phpphp find today datetoday 27s date on phpcurrent php dateput current date time in phpdateandtime in phpget current timestamp in phpphp current date hourphp get now timestampphp get today 27s dayhow to get server date and time in phpphp get odayget today 27s date phpphp datetime current dayphp is it from todayhow to return current date and time in php 3fphp time nwphp echo timeget today month phpactual date php today date phpget date time in phpshow current date phpget current date from year phptoday 27s date function in phpphp datetime todaytoday php datetimephp today create dataphpdatehow to get the day today in phpget curretn date phpphp print server timedisplay date format in phpphp current date if todayback date from todays date in phphow to get today 27s date in phpcurrent data in phpdate php functioncurrent time not current date phpphp echo now timephp current date current timegetting the current time in phpdate 28 29 php getting outdate date phpphp current datetime nowhow to get today time phpget current full date and time phpphp get current date and timephp ow 28 29get full date and time phpfetch time in phpget timestamp in phpphp get current dat timeecho current date in phpphp current datestampget current datetime in javascript for iranl and t in date 28 29 phpget currant date inn phphow to get todays adte in phpphp simple current datetimephp now 28 29get the date using phpget date phphow to find current date in phpdatetime get current date phphow to get current daterime in phphow to get now date time in phphow to display the current date and time in phphow to get current date and time using datetimne phphow to get the current date in phpdate create in php current datehow to current date in php gethow to print curent date phpcurent date in phpphp date and time functionsphp get current datetime functiontoday date in phpprint current timestamp in phptoday date format phpget value current date phpphp using now 28 29 php get today datephp get current date as stringhow to get your current date in phpecho now phpmp get only date from datetime in phphow get current date phpget today datetime phpphp what is today 27s dateget the current date phphow to take out current date in phpshow todays date in phpphp date 28now 29current date display in phphow do i get the and print the current date and time in phpphp function for current date and timephp get current date time formatget curent date phphow to use php today 27s datehow to check current date is 3f in phpphp select current datephp create current datephp get now date timeget date now phpget system date phpcurrent date and time in php mysqlget date of today phpphp 7 get current dateget now on phptime in phpphp date y m d not showing current timecurent date and time phphow to get current datetime in php using date functionhow to get current date phpget current date phptoday phpphp date only todayphp get actual dataphp current time and datecurrent date whith out time phpphp for current timeprint current date in phpphp check date of todayget the current date and time in phpcurrent date 26 time in phpecho datecheck current date and time in phpusing php how to get server actual timephp datetime get today datephp get the date and time nowphp get currentphp show today datephp print current dateprint current date time in phpcurrent date tme phpdate today 28 29 in phplive date and time in phpphp show timephp get date currentphp get today 27s date in timestamphow to get current system date and time in phpphp check current datephp date functionsecho server time phpphp current date and time functionphp date from nowecho date time in phpphp using now 28 29 functionpick current date in phpshould i use php todaycurrent date time phpphp current date time stringtake time and date in phpget date for today in phpphp check currentdatephp check today datephp get now datetimehow to check current date on phphow to get today date and time in phpphp date 28php curent date and timephp how to get date todayuget current date phpget current date in phpphp date get current dateoutput system date in phpphp datetime of todayshowing a current time and date in phpget new date phphow to get the current date using phpphp current date 28 29date function phpcurrent datetime phpphp get today daty nameget date in phpphp get today 27s dateget current date and time inphpget currebt date in phpget current time of day phptoday date as string in phphow to enter the current date in phphow to get today date from server by phpphp jdatetime get current datetoday date for database in phpphp date full datetime format in phpget auto system date in phphow to get todays date in php 7php current datetimephp echo today 27s dayhow get current date in phpphp get date todayget current date in day month in words and year phpphp system datehow to get todays date and time phpphp computer date timeget the current date string in phpphp get current date time mysqlphp current datehow to get current date in phpwho to find the present date in phpphp get todat datecreate today date in phptoday dayte in php datetime today 27s date phpget date with time now phptoday date time in phphow to take current date in phpphp how to get date todayphp code for current date timecuurent date phpphp get current darecurrent date phpprint date and time phphow to have current data in phpdate now in php getdatetoday time formate phpphp get current server date timeget todays date 2b phpretrieve current date phpshow today data phpphp date of todayphp current timeget the full date in phphow to find the time now in phpphp get time and datedata 28 29 in php 24time 3ddate 28 22h 3ai 22 29 3bautomatic date on phpphp get current time gethow to get today in php 3fdate and time in yamlif the sql date is today date then print today date phptoday date phpdatetime phpphp get the device time 26 datehow to get today date in phpset datetime at today phpfind today date in phptime not get using date function in phpphp function for date and timeget todays date in phpget now in datetime phpphp new datedate input n phpdate now phpphp get current datettimeget current date in timestamp phpphp echo current datephp get current timestampget the latest filter date in vbacurrent date 26 tie in phphow to get date and time in phpdisplay current date in phpget current date in php with formatphp time is it from todaydate time phpaget date time in phpphp date now current stampphp get current time datetimeget todays data and time in phpphp get actual dateprint current time phpcurrent datetime php functiontoday php for created attoday date and time in phpphp 3acurrent datetimephp today date and time in timestamphwo to check currentdate in phphow to store current date and time in phphow to get current date and time in phpphp get todays date 2b 1php time formatdisplay today date in phpget current time and date using the php date functionphp get current datetime as datetimetoday datetime in phpphp today datetimenew datetime with current date phphow to echo date and time in phpget date today in phpget current time in phpphp today date today date day phpget date and time in phpphp 7 curdatephp echo current date and timeget current date datetime phphow to current time in phphow to store current date and time in variable in phpphp create date get yearhow to get correct date in phphow to get current date with time in phpphp get current date for dbphp whole set asian date timedisplay messege on specific date and time in phpphp current time dateget current datetime phponly current date in phpphp get current timephp echo todays datecurrent datae in phpphp get time of daytoday php datecurrent date php functionadd today date with phpget current date timestamp in phpdate format php examplephp get current date in phpdate to timestamp phpget today 27s date with phpdatetime with current date photime phpphp curremt dataget today 27s date in phpget current date time using datetime class phpphp get today string datephp date 3a 3atoday 28 29how to get today 27s date phpprint current date and time in phpshowdateu phpphp today date formathow to pass current date with time phpphp datget urrent dateget current day hour phpphp current date nowphp code to get current date onlyphp current date and time syntaxhow to find current full date with time in phpdate default timezone set 28 22america 2fnew york 22 29 3b echo 22the time is 22 date 28 22h 3ai 3asa 22 29 3bin php create crrunt date and timeecho date in phpphp print today hudoes 2cdate 28 27y m d h 3ai 3as 27 29 grab local pc or server pc timeget current date 27 phpget the time and date in phpphp function display todays dateprint todays date in phpphp date get noephp search today datehow to get date today in phpget currrent date time in phpecho current date with time phpget todays date and time in phphow to give current date and time in phpphp date functionphp output current dateget date time in system using phphow to get current date not time in phpdate php todayget current date data using timestamp in phpphp to display current dateacurrent date function in phphow to show current date in phpcurrent date in phphhow to get system date and time in phpcurrent date php formatphp todays datephp current date getphp get curren date timedate and time function in php 3a 3atime in phpshow current date in php timegetting current date and time in phpsending current date and time in phpget date with time phpdisplaying current date in phpget date with phpdatetime current phpphp getdate nowget todays date time in phpdatetime php nowfind cuurent date in phphdate current time phpphp date and time functioncurrent date ion phpphp get now dateget todays data phpget current server time phpprint today date and time phpdate day phpphp get date of todayprint time in phpdate time pphphp function to get the current datedate format in phphow to get date fromtme phpphp today date and timeshow current data and time in phpget the current datetime phpphp get todayget todat date phphow to see todays date in phpphp get current dateis date 28 29 current date phpphp time date todaystore today 27s date in a variable phpphp print todaywork with date phphow to get php current date and timephp get timeadd today name to website by phpdatefns get current timehow to get the current date with phpget todays date with php datetimegetting current time phphow to get system date in ppphp how to use date variable in javascriptphp current date time mysqlphp current timpstampphp display dateget date phpphp get datetime nowgetting just current date in simple format phpphp where date is todayis php used todayphp time functiondate and time function phptoday date get phpcurrent phpview today date matching data in sql in phpphp get today 27s date and timecurrent date into timehow to automatically get the current date and time in phpget today date in phpphp 5cdatetime 3a 3a currenthow to get today day in phpphp where datetime todayshow current date time in phpphp time 28 29fetch today data in phphow to see what the current date is phphow to get current date in seconds with phphow to generate current date and time in phphow to get the current time in phpphp code get current timeget today date in rdate phpphp curdate printdatetime get current day phpphp today date timephp how to get the current dateshow date in phpget actual date phpphp echo current date timeponer current date phpwhy my php server say current date is 2007php display today dateset current date time in phpphpget datephp echo today 27s datephp current datephp records date 3d todayhow to get todays 27s data in php in formathow i get the present day phpphp to display timedate now today phpphp currentdatehow to display current date in phpcurrent date in php 5ccurrentdate phpphp get current datetime as stringcurrentdate function inphpphp current time stringphp date today datehow do i get the current date and time in phpphp time 28 29 vs date 28u 29php fetch date from serverphp date to stringcurrent datte phphtime current php how to print date in same page using phpdate current date phpfind todays date phpget curretn date in phpphp display today 27s datetime code phpget current day and time phpwhat is date variable in phpdate to string phpget today phpdate hours phpprint currunt date in phpphp if date is current datedisplay date time in php get current date and time using phpget local now date phphow to get date time now phpphp current date and timeget time h 3am from date time in phpget timestamp phpgetting today 27s date in phpphp how to get current datehow to get current date and time phpcreate current date in php datetimephp date time nownow 28 29 today 28 29 phptodays date 2c phpdget current date in phpphp in date and timephp get current datetimeget current time and date phphow to get the curent time and date in phpcurrent server time phpphp check that date 3e todayphp only today date how to get the current date in php 5cget todays date php for mysqlphp in get current date and time 3c 3fphp echo current dateget date today phphow to get only the current date in phphow to display current date and time in phpphp get date no timephp today dayget today data phpget current date timestamp phpcreate a today date phphow to get the date phpphp current datetimeset date from today phpphp echo today dateget current date number in phpphp get todays dayphp data todayhow to store current date in phpdate 28today 29 phpshow cureent date phpphp show datetime nowprint current date php get date time phpif a date is today in phpphp get datetime now as a datetimeget date from the time 28 29 phpphp if date is todaytoday 27s date phpphp print today dateprint current time and date in phpphp show timestampphp get time nowtoday 27s day phphow to return get date now phpto print current time which function will use in pphpphp sql where date todaycurrentdatetime in phpget today y m d phpcreate current date in phpsql today date in phptoday date function in phpget todays date in india in phpdisplay today php php date function todayphp get server datetime nowget current time phpget date php todaywhat is date 28 22h 22 29display current data phpgive today 27s date i phpphp get current time stampdate today phpphp get this datecurrrent time phphow to get the current date in the date time object format in phpshow current date in phpget current time php functionphp code to get today 27s datehow to get currentr date in phpphp system timehow to get date time in phpphp data and time formatphp getting the current datehow to show date in phpget current date phpdatetime w3schools phpphp display date formatdate math sql phptoday date functions in phpprint date in phpphp date and time nowset current date time in phpphp get today daetdate function in phpphp current date timephp current date objectphp time 24 get 5b 27date 27 5dhow to php current dateshow time in phpget current date 26 time phpphp get datetime todayhow to get today date full name in phpget current date and time code in phpdate in phpcurrent date string in phpget current date un phphow to get current time in phpphp current date stringhow to store a date string in phpcurrent date in phpecho current time user phpget today day phpphp get current datetime stringcurrent time and date phpphp code for get today datehwo to get today date in phpget current dater time in phpfind current date in phpphpp today timephp set datetime to current datehow to fetch current date in phpcurrent date in php for sqlhow to display todays date in phphow to create date in html and php codephp get index of datephp get today stringecho today date phpcurrent time and date display in phpphp now datetoday end date in phpwrite a php program to display current date and timefunction for current date in phphow to get current time date and time in phpphp get system timephp get today timedate of today phptoday 27s dat phpget topdays date phpphp get todays dateecho current date time in phpstore current date in php in databasedet day in phpphp create date todaydatetime in php currentdate php is returning the wrong datephp print current datetimedate and time now phprecent time to datetime phpget curremt date time in phptodays datetime in phphow to get today 60s date in phpdate to strong phpcurrent time in phpphp live time datetodays date in phpget time in phpphp get todays date and timeget date of today with datetime 28 29 phptoday datetime phpge time in phpphp date now unixget today date only in phpphp get current dataphp how to get date and timephp get current date without timephp function to get current date and timecurrent date in php how to get server current date and time in phpphp new datetime get curreny dayphp get the current dateget current date phjust current date in phpget day in phpdate with current time in phpphp curent datehow to get the current data in phpassign todays date phpgetting current datetime in phpphp to get current datephp echo todays date in y d mphp set datetime to currentcurrentdate timestamp phpgetting current date and time phpphp get datetime vlauephp display current date and dayphp get todays date in timestampphp code to display current date and time in different formatshow to get automatic time in phphow get datetime now in phpdate ant time coe in phpphp code for today 27s datephp get current date in secondsget live time in phptime get in phpmonth and date function in php get current date on pghpget current datetime in phpgetting the current date in phpdisplay current daate in phphow to get current date timestamp in phpsend current date and time in phphow toprint date value in phpdate time php functionphp set date local deutschlandto get current date in phptime function in php to dateget date now in phphow to get the current datw in phppresent date in phpphp current date 26 timephp date 3d todaysend current date phpcurrent 2bdate 2bphpphp today namecalculate date from today phpphp getdate function todayphp current date functionnow 28 29 in phphow to get todays date phpshow datetime in phpphp datestamphow to know the date using phpphp get records today datedatetime today date phpdate and time get in phphow to get the current date phpecho current date phpget current dateb time in phpphp get the actual datephp display current datephp get now timephp get today date and timehow to get the current time in php ifdata time on phpphp ate get todaytoday date in phpphp nowhow to create current date and time in phpfunction date today phphow to automatically take todays date in phpcreate datetime object for today phpcurent date oin phpphp date nowhow to get current datetime on phpcheck date is today phpphp function in php for current date and timesql get today data in phphow to get current date only in phpphp full current datetimedate in phpget date values in same php pagehow to find today date and time in phpadd day to php date zero to add 10 below add zerophp get residual current datephp current timestampdate i phpdate 28 29 phphow to get todays date in phphow to get todays date inphpget datetime phptoday date phpphp get datetime currentfunction to retrieve the current date and time in phphow to print current date in phpcurrent datetime function in phptoday date and day in phptoday date with time in phpdisplay todays date phpphp get today date without php new date time nowhow to get current timestamp in phpphp date from datetimeget date and time php 24ldate 3ddate 28 27d 2fm 2fy h 3ai 3as 27 2c time 28 29 29 3bsystem current date in phpget current date and time phphow to send date on get phppresent date phpphp get datetimehow to fetch the current date in phpdatetime today date in phpphp now 28 29 functiontoday date show in phpget new datetime today phpcurrent date in phpghphp is date todayget today date ymd phpdate now in phpphp current date sqlget time now phphow to to get current date and time in phpphp date to timestampphp current dattimedate 28 29 today phphow to get current date in php mysqlphp get now daeperfect current date and time in phpget current date and time in timestamp phpget currentdate phpwrite out current date phpphp display local date time insteadphp get data of todaydate 28 22h 3ai 3asa 22 29get current datetime 28 29 phptime format date function phptoday time phpreturn current date and time in phphow to get curent date in phptodays date time phpphp get current datetime as numberget current date on phpget the date of the date time in phpfunction to get current time and date in phpphpget current datecheck today in phpphp get current date from systemajax get current date and time phpget current date time in phpphp get now date and timeget date time in phpget current date and time in phphow to define a current date in phpgetting system time in phpphp add current machine time to datenew datetime php todayphp get now in datetimehow to get today date with date formet in phptoday 27s date in phpget today last date time stamp phpphp code to display timehow to print today date in phphow to pick current date in phpget date from date phpget date time now phptoday date function parameters in phpphp get currrent datehow to get current date time in a variable in phpget current original time and date in phpget current ini phpget full time phphow to represent current date in ophpphp show today 27s datehow to select date from php date variablecurrent datetime string in php get current date and time phpphp get date time nowcurrent date time in php from formathow to show current time php formattedphp set date to currentget today php in formatdate 28 27l 27 29 3bnow php functionphp get current date timeget current date php calendarhow to get todaystime phpget current date 26 time in phpshow today 27s day in phpphp date now 5ccreate today datetime phpphp code to get current datephp time nowhow to get currrent date time in phpdte fucntion parameters in phpopen close current time phpphp current timestamp formatphp date formatgrab current date phpphp todat datephp get current date timestampto get current dtae and time in phptoday dates phpphp get today 27s date timedate operatrion in phpphp today 27s datedatetime today phpphp today 28 29get the current date in phpexecution time in phpphp get the current timetimestamp to date in phphow to get current time data phpphp print current date and timephp code to print the current datetimege current date and time in phpphp today hijri datetimestamp to format phpget datetime now phptime 28 29 phpphp show todays dategeneration current date and time using phpphp date time from exact date php system datetime with examplehow to get curretn dat in phpdatetime in phpdate today in datetime phpreturn current date in phpphp current time formatget today day in phphow to have a current date in phpget date of today in timestamp phpphp run date and timephp date object formatget current date form phpphp get current date newget current datetime stamp phphow to get datetime now in phpphp to show todays date ordersnew date time now phptimestamp in phpphp get current date nowphp date create todayget today time phpsystem date and time in phpphp get current date in timestamphow to get current time using date time function in phpdate in pphpdate now function in phpget current date today phpcurrent date time in phpdate print in phpprint the current date and time on the pagephp now datetimephp get current date onlyget current day in phpphp echo current datahow to get current date time in phpphp current date get