rest_parse_date


rest_parse_date ( $date, $force_utc = false )

Parameters:
  • (string) $date RFC3339 timestamp.
  • (bool) $force_utc Optional. Whether to force UTC timezone instead of using the timestamp's timezone. Default false.
Returns:
  • (int) Unix timestamp.
Defined at:

Description

Parses an RFC3339 time into a Unix timestamp.

Related Functions

get_the_date, rest_parse_request_arg, list_core_update, get_core_updates, shortcode_parse_atts

Top Google Results

User discussions

wpseek mobile