2020-05-02 / 5796阅 / 悠然
Converts an iso8601 (Ymd\TH:i:sO) date to MySQL DateTime (Y-m-d H:i:s) format used by post_date[_gmt].
(string)
(Required)
Date and time in ISO 8601 format https://en.wikipedia.org/wiki/ISO_8601.
(string)
(Optional)
If set to 'gmt' returns the result in UTC.
Default value: 'user'
(string|bool) The date and time in MySQL DateTime format - Y-m-d H:i:s, or false on failure.