Lines Matching refs:date_format
647 * @param string $date_format Supports any PHP date format from {@see http://php.net/date} (empty for the raw data)
650 public function get_date($date_format = 'j F Y, g:i a')
679 $date_format = (string) $date_format;
680 switch ($date_format) {
688 return date($date_format, $this->data['date']['parsed']);
703 * @param string $date_format Supports any PHP date format from {@see http://php.net/date} (empty for the raw data)
706 public function get_updated_date($date_format = 'j F Y, g:i a')
721 $date_format = (string) $date_format;
722 switch ($date_format) {
730 return date($date_format, $this->data['updated']['parsed']);
747 * @param string $date_format Supports any PHP date format from {@see http://php.net/strftime} (empty for the raw data)
750 public function get_local_date($date_format = '%c')
752 if (!$date_format) {
755 return strftime($date_format, $date);
765 * @param string $date_format Supports any PHP date format from {@see http://php.net/date}
768 public function get_gmdate($date_format = 'j F Y, g:i a')
775 return gmdate($date_format, $date);
782 * @param string $date_format Supports any PHP date format from {@see http://php.net/date}
785 public function get_updated_gmdate($date_format = 'j F Y, g:i a')
792 return gmdate($date_format, $date);