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

rest_parse_hex_color, get_the_date, rest_parse_request_arg, rest_parse_embed_param, list_core_update

Top Google Results

User discussions

wpseek mobile