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, get_core_updates, list_core_update, rest_parse_request_arg

Top Google Results

User discussions

wpseek mobile