gmdate(): GMT/UTC date and time

gmdate($date_format,$timestamp);
ParameterDESCRIPTION
$date_formatRequired : Format required for output. Details are below.
$timestampOptional: Unix timestamp
Output is the Greenwich Mean Time - GMT date and time string displaying as per the input format.

Functionality of gmdate() is same as date() function

Difference in output between date() and gmdate()

Formatdate()gmdate()
'd/m/y H:i:s'29/09/20 17:50:5629/09/20 17:50:56
'F j, Y, g:i a'September 29, 2020, 5:50 pmSeptember 29, 2020, 5:50 pm


plus2net.com






Post your comments , suggestion , error , requirements etc here .




We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
©2000-2020 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer