Lines Matching defs:date
62 public $date;
634 * Parse a date
638 * @param string $date Date to parse
639 * @return int Timestamp corresponding to date string, or false on failure
641 public function parse($date)
644 if (($returned = call_user_func($method, $date)) !== false) {
650 if (($returned = call_user_func([$this, $method], $date)) !== false) {
659 * Add a callback method to parse a date
682 public function date_w3cdtf($date)
722 if (preg_match($pcre, $date, $match)) {
800 * Parse RFC2822's date format
805 public function date_rfc2822($date)
822 if (preg_match($pcre, $this->remove_rfc2822_comments($date), $match)) {
879 * Parse RFC850's date format
884 public function date_rfc850($date)
896 if (preg_match($pcre, $date, $match)) {
935 * Parse C99's asctime()'s date format
940 public function date_asctime($date)
953 if (preg_match($pcre, $date, $match)) {
978 public function date_strtotime($date)
980 $strtotime = strtotime($date);