Codex tools: Log in
Contents |
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.
<?php get_gmt_from_date( $string ) ?>
Since: 1.2.0
get_gmt_from_date() is located in wp-includes/formatting.php.