Viewing 1 replies (of 1 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    In PHP you can do that: http://www.php.net/manual/en/function.date.php

    e Timezone identifier (added in PHP 5.1.0) Examples: UTC, GMT, Atlantic/Azores
    I (capital i) Whether or not the date is in daylight saving time 1 if Daylight Saving Time, 0 otherwise.
    O Difference to Greenwich time (GMT) in hours Example: +0200
    P Difference to Greenwich time (GMT) with colon between hours and minutes (added in PHP 5.1.3) Example: +02:00
    T Timezone abbreviation Examples: EST, MDT …
    Z Timezone offset in seconds. The offset for timezones west of UTC is always negative, and for those east of UTC is always positive. -43200 through 50400

    In WP if you change the setting to custom and make it F j, Y, e then you’d get November 5, 2011, America/Chicago (well, I would, you’d get your local zone)

Viewing 1 replies (of 1 total)

The topic ‘Timestamp GMT’ is closed to new replies.