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'||24/07/21 05:37:16||24/07/21 05:37:16|
|'F j, Y, g:i a'||July 24, 2021, 5:37 am||July 24, 2021, 5:37 am|
This article is written by plus2net.com team.