Core Class
View Source on Trac ↗
Core Class
Date
class Date
// Constructor: function Object() { [native code] } Date Parser
Methods 10 methods
| Method / Return | Description |
|---|---|
| __construct() void | Create new Date object, and set self::day_pcre, |
| get() void | Get the object |
| parse() int | Parse a date
Parameters: $date: mixed |
| add_callback() void | Add a callback method to parse a date
Parameters: $callback: mixed |
| date_w3cdtf() int | Parse a superset of W3C-DTF (allows hyphens and colons to be omitted, as
Parameters: $date: mixed |
| remove_rfc2822_comments() string | Remove RFC822 comments
Parameters: $string: mixed |
| date_rfc2822() int | Parse RFC2822's date format
Parameters: $date: mixed |
| date_rfc850() int | Parse RFC850's date format
Parameters: $date: mixed |
| date_asctime() int | Parse C99's asctime()'s date format
Parameters: $date: mixed |
| date_strtotime() int | Parse dates using strtotime()
Parameters: $date: mixed |
Properties
| Property / Type | Description |
|---|---|
| $date mixed public | No description available. |
| $day mixed public | No description available. |
| $month mixed public | No description available. |
| $timezone mixed public | No description available. |
| $day_pcre mixed public | No description available. |
| $month_pcre mixed public | No description available. |
| $built_in mixed public | No description available. |
| $user mixed public | No description available. |
Class Information
Source File
wp-includes/SimplePie/src/Parse/Date.php
Advertisement