eZPublish  4.5
eZDateUtils Class Reference

The class eZDateUtils does. More...

Static Public Member Functions

static rfc1123Date ($timestamp=false)
 
static rfc850Date ($timestamp=false)
 
static textToDate ($dateText)
 

Detailed Description

The class eZDateUtils does.

Member Function Documentation

static eZDateUtils::rfc1123Date (   $timestamp = false)
static

Return a textual representation of the date according to the RFC 1123 standard.

rfc1123-date = wkday "," SP date1 SP time SP "GMT" date1 = 2DIGIT SP month SP 4DIGIT ; day month year (e.g., 02 Jun 1982) time = 2DIGIT ":" 2DIGIT ":" 2DIGIT ; 00:00:00 - 23:59:59 wkday = "Mon" | "Tue" | "Wed" | "Thu" | "Fri" | "Sat" | "Sun" month = "Jan" | "Feb" | "Mar" | "Apr" | "May" | "Jun" | "Jul" | "Aug" | "Sep" | "Oct" | "Nov" | "Dec"

Referenced by eZContentObjectVersion\serialize(), eZContentObject\serialize(), eZDateType\serializeContentObjectAttribute(), eZTimeType\serializeContentObjectAttribute(), and eZDateTimeType\serializeContentObjectAttribute().

static eZDateUtils::rfc850Date (   $timestamp = false)
static

Return a textual representation of the date according to the RFC 850 standard.

rfc850-date = weekday "," SP date2 SP time SP "GMT" date2 = 2DIGIT "-" month "-" 2DIGIT ; day-month-year (e.g., 02-Jun-82) time = 2DIGIT ":" 2DIGIT ":" 2DIGIT ; 00:00:00 - 23:59:59 wkday = "Mon" | "Tue" | "Wed" | "Thu" | "Fri" | "Sat" | "Sun" weekday = "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday" | "Sunday" month = "Jan" | "Feb" | "Mar" | "Apr" | "May" | "Jun" | "Jul" | "Aug" | "Sep" | "Oct" | "Nov" | "Dec"

static eZDateUtils::textToDate (   $dateText)
static

The documentation for this class was generated from the following file: