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'||20/01/22 23:52:01||20/01/22 23:52:01|
|'F j, Y, g:i a'||January 20, 2022, 11:52 pm||January 20, 2022, 11:52 pm|
This article is written by plus2net.com team.