wpseek.com
WordPress开发者和主题制作者的搜索引擎
mysql_to_rfc3339 › WordPress Function
Since4.4.0
已弃用n/a
› mysql_to_rfc3339 ( $date_string )
参数: |
|
返回: |
|
定义在: |
|
文档: |
Parses and formats a MySQL datetime (Y-m-d H:i:s) for ISO8601 (Y-m-d\TH:i:s).
Explicitly strips timezones, as datetimes are not saved with any timezone information. Including any information on the offset could be misleading. Despite historical function name, the output does not conform to RFC3339 format, which must contain timezone.Related Functions: