is_date_time_formatted()
public static function is_date_time_formatted( $text )
Determines if the specified text is formatted as a date or time.
Since: 2.9.3
Source: common.php:5731
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$text | string | The text to be evaluated. |
Returns
bool— Returns true if $text is formatted as a date or time, false otherwise.