WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #48623, comment 19


Ignore:
Timestamp:
11/15/2019 02:38:38 AM (2 years ago)
Author:
steevithak
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48623, comment 19

    initial v1  
    2424
    2525>> What are the post_date and post_date_gmt values in database
    26  Not sure what the best way is to find out that info. I haven't worked with MySQL in a while!
     26 I haven't played with MySQL in a while but I think this is what you want:
     27{{{#!php
     28select post_date, post_date_gmt from wp_posts where ID = 2858;
     29+---------------------+---------------------+
     30| post_date           | post_date_gmt       |
     31+---------------------+---------------------+
     32| 2018-07-22 21:13:23 | 2018-07-23 03:13:23 |
     33+---------------------+---------------------+
     341 row in set (0.00 sec)
     35}}}
    2736
    2837>> What the old permalink was