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 formatting string in PHP date format
|'d/m/y H:i:s'||05/07/22 16:31:51||05/07/22 16:31:51|
|'F j, Y, g:i a'||July 5, 2022, 4:31 pm||July 5, 2022, 4:31 pm|
Subscribe to our YouTube Channel here
This article is written by plus2net.com team.