Time (), date (), mktime (), strtotime () in php (). In php, time (), date (), mktime (), strtotime () time (): returns the current Unix timestamp; date (): Formats a local timestamp; mktime (hour, minute, second, month, day, year): get the time (), date (), mktime (), strtotime () in php ()
Time (): returns the current Unix timestamp;
Date (): format a local timestamp;
Mktime (hour, minute, second, month, day, and year): Gets the timestamp of a date;
Strtotime (): parses the date and time description of any English text into a Unix timestamp
Echo time ();
Echo date ('Y-m-d H: I: S', time ());
Echo mktime (13,54, 55,9, 18,2015 );
Echo strtotime ("now ");
Echo strtotime ("10 September 2015 ");
Echo strtotime ("+ 1 day ");
Echo strtotime ("+ 1 week ");
Echo strtotime ("next Thursday ");
Echo strtotime ("last Monday ");
Hour (), date (), mktime (), strtotime () time (): returns the current Unix timestamp; date (): Formats a local timestamp; mktime (hour, minute, second, month, day, year): Get...