gmdate(): GMT/UTC date and time
Output is the Greenwich Mean Time - GMT date and time string displaying as per the input format.
|$date_format||Required : Format required for output. Details are below.|
|$timestamp||Optional: Unix timestamp|
Functionality of gmdate() is same as date() function
Difference in output between date() and gmdate()
Characters used for formating string in PHP date format
|'d/m/y H:i:s'||17/10/21 04:16:31||17/10/21 04:16:31|
|'F j, Y, g:i a'||October 17, 2021, 4:16 am||October 17, 2021, 4:16 am|
This article is written by plus2net.com team.