\DateTime

Synopsis

class DateTime implements DateTimeInterface {
  • // constants
  • const ATOM = "Y-m-d\TH:i:sP";
  • const COOKIE = "l, d-M-y H:i:s T";
  • const ISO8601 = "Y-m-d\TH:i:sO";
  • const RFC822 = "D, d M y H:i:s O";
  • const RFC850 = "l, d-M-y H:i:s T";
  • const RFC1036 = "D, d M y H:i:s O";
  • const RFC1123 = "D, d M Y H:i:s O";
  • const RFC2822 = "D, d M Y H:i:s O";
  • const RFC3339 = "Y-m-d\TH:i:sP";
  • const RSS = "D, d M Y H:i:s O";
  • const W3C = "Y-m-d\TH:i:sP";
}

Hierarchy

Extended by

Implements

Constants

Name Value
ATOM "Y-m-d\TH:i:sP"
"l, d-M-y H:i:s T"
ISO8601 "Y-m-d\TH:i:sO"
RFC822 "D, d M y H:i:s O"
RFC850 "l, d-M-y H:i:s T"
RFC1036 "D, d M y H:i:s O"
RFC1123 "D, d M Y H:i:s O"
RFC2822 "D, d M Y H:i:s O"
RFC3339 "Y-m-d\TH:i:sP"
RSS "D, d M Y H:i:s O"
W3C "Y-m-d\TH:i:sP"

Methods

public