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'25/01/21 01:50:5125/01/21 01:50:51
'F j, Y, g:i a'January 25, 2021, 1:50 amJanuary 25, 2021, 1:50 am


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-2021 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer