Tag Archives: id143fa650ed29c97d948f45a7df6633ed

get_gmt_from_date

Returns a date in the GMT equivalent.Requires and returns a date in the Y-m-d H:i:s format. Simply subtracts the value of the ‘gmt_offset’ option. Return format can be overridden using the $format parameter. The DateTime and DateTimeZone classes are used to respect time zone differences in DST.

1402

Continue reading