I am working with PHP,And trying to convert "dynamic datetime" ( can be with anytimezone) into "GMT Format", How can i do this ? I tried with following code but not working for me
echo gmdate('d.m.Y H:i', strtotime('2023-03-13 11:45 AM'));
How can i convert above "datetime" into "gmt" format ?