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'||25/01/21 01:50:51||25/01/21 01:50:51|
|'F j, Y, g:i a'||January 25, 2021, 1:50 am||January 25, 2021, 1:50 am|
This article is written by plus2net.com team.