Skip to content

libdatephp cDateISO

Rainer Stötter edited this page May 17, 2017 · 4 revisions

libdatephp\cDateISO

Objects of the class cDateISO represent single dates represnted by ISO 8601 week numbers.

The ISO week date system is effectively a leap week calendar system that is part of the ISO 8601 date and time standard issued by the International Organization for Standardization (ISO) since 1988 (last revised in 2004) and, before that, it was defined in ISO (R) 2015 since 1971. It is used (mainly) in government and business for fiscal years, as well as in timekeeping. This was previously known as "Industrial date coding". The system specifies a week year atop the Gregorian calendar by defining a notation for ordinal weeks of the year.

ISO 8601

Der Kalender ordnet Zeiträume, indem er Tage zu Wochen, Wochen zu Monaten und Monaten zu Jahren zusammenfasst. Für die Darstellung von Datum und Uhrzeit ist die internationale Norm ISO 8601 zuständig. Diese Regeln hält die deutschsprachige Kalender Industrie ohne Ausnahme ein. So beginnt seit 1976 jede Woche mit Montag und endet mit dem Sonntag. In anderen Ländern, wie zum Beispiel den USA, Mexiko, Australien und Kanada, fangen die Wochen mit dem Sonntag als ersten Wochentag an und endet mit dem Samstag. Weitere wichtige Regeln der ISO 8601 in Bezug auf die Kalenderwoche:

Eine neue Kalenderwoche (kurz KW) beginnt immer am Montag. Unvollständige Kalenderwochen gibt es nicht, jede Woche hat exakt sieben Tage. Mit den ersten vier Tagen des neuen Jahres, beginnt die erste Kalenderwoche. Der vierte Januar liegt immer in der ersten Kalenderwoche.

constants of class cDateISO


properties of class cDateISO


methods of class cDateISO


     public  mixed libdatephp\cDate::AddDays(integer $diff)
     public  mixed libdatephp\cDate::AddMonths(integer $diff)
     public  mixed libdatephp\cDate::AddWeeks(integer $diff)
     public  mixed libdatephp\cDate::AddYears(integer $diff)
     public  string libdatephp\cDate::AsAMPM()
     public  string libdatephp\cDate::AsDMY()
     public  string libdatephp\cDate::AsDMY0()
     public  string libdatephp\cDate::AsISO8601()
     public  string libdatephp\cDate::AsMDY()
     public  string libdatephp\cDate::AsMDY0()
     public  string libdatephp\cDate::AsRFC2822()
     public  string libdatephp\cDate::AsSQL()
     public  string libdatephp\cDate::AsSwatch()
     public  integer libdatephp\cDate::AsTimeStamp()
     public  string libdatephp\cDate::AsUTC()
     public  string libdatephp\cDate::As_ampm()
     public  \libdatephp\cDate libdatephp\cDate::BOM()
     public  \libdatephp\cDate libdatephp\cDate::BOQ()
     public  \libdatephp\cDate libdatephp\cDate::BOW()
     public  \libdatephp\cDate libdatephp\cDate::BOY()
     public  string libdatephp\cDate::C_Month_Long_DE()
     public  string libdatephp\cDate::C_Month_Long_EN()
     public  string libdatephp\cDate::C_Month_Short_DE()
     public  string libdatephp\cDate::C_Month_Short_EN()
     public  string libdatephp\cDate::C_Weekday_Long_DE()
     public  string libdatephp\cDate::C_Weekday_Long_EN()
     public  string libdatephp\cDate::C_Weekday_Short_DE()
     public  string libdatephp\cDate::C_Weekday_Short_EN()
     public  mixed libdatephp\cDate::CheckDate(integer $month, integer $day, integer $year)
     public  integer libdatephp\cDate::DOM()
     public  integer libdatephp\cDate::DOQ()
     public  integer libdatephp\cDate::DOW()
     public  integer libdatephp\cDate::DOY()
     public  integer libdatephp\cDate::Day()
     public  string libdatephp\cDate::Day0()
     public  mixed libdatephp\cDate::Dec()
     public  \libdatephp\cDate libdatephp\cDate::EOM()
     public  \libdatephp\cDate libdatephp\cDate::EOQ()
     public  \libdatephp\cDate libdatephp\cDate::EOW()
     public  \libdatephp\cDate libdatephp\cDate::EOY()
     public  mixed libdatephp\cDate::FromAnyString(string $str)
     public  mixed libdatephp\cDate::FromDMY($str)
     public  mixed libdatephp\cDate::FromDate($obj)
     public  mixed libdatephp\cDate::FromMDY($str)
     public  mixed libdatephp\cDate::FromSQL($str)
     public  mixed libdatephp\cDate::FromTimestamp($ts)
     public  mixed libdatephp\cDate::GoBOM()
     public  mixed libdatephp\cDate::GoBOQ()
     public  mixed libdatephp\cDate::GoBOW()
     public  mixed libdatephp\cDate::GoBOY()
     public  mixed libdatephp\cDate::GoEOM()
     public  mixed libdatephp\cDate::GoEOQ()
     public  mixed libdatephp\cDate::GoEOW()
     public  mixed libdatephp\cDate::GoEOY()
     public  boolean libdatephp\cDate::InApril()
     public  boolean libdatephp\cDate::InAugust()
     public  boolean libdatephp\cDate::InDecember()
     public  boolean libdatephp\cDate::InFebruary()
     public  boolean libdatephp\cDate::InJanuary()
     public  boolean libdatephp\cDate::InJuly()
     public  boolean libdatephp\cDate::InJune()
     public  boolean libdatephp\cDate::InMarch()
     public  boolean libdatephp\cDate::InMay()
     public  boolean libdatephp\cDate::InNovember()
     public  boolean libdatephp\cDate::InOctober()
     public  boolean libdatephp\cDate::InSeptember()
     public  mixed libdatephp\cDate::Inc()
     public  boolean libdatephp\cDate::IsCurrentMonth()
     public  boolean libdatephp\cDate::IsCurrentYear()
     public  boolean libdatephp\cDate::IsDST()
     public  boolean libdatephp\cDate::IsFriday()
     public  boolean libdatephp\cDate::IsFuture()
     public  boolean libdatephp\cDate::IsLeapYear()
     public  boolean libdatephp\cDate::IsMonday()
     public  boolean libdatephp\cDate::IsPast()
     public  boolean libdatephp\cDate::IsSaturday()
     public  boolean libdatephp\cDate::IsSommerzeit()
     public  boolean libdatephp\cDate::IsSunday()
     public  boolean libdatephp\cDate::IsThursday()
     public  boolean libdatephp\cDate::IsToday()
     public  boolean libdatephp\cDate::IsTomorrow()
     public  boolean libdatephp\cDate::IsTuesday()
     public  boolean libdatephp\cDate::IsWednesday()
     public  boolean libdatephp\cDate::IsWeekday()
     public  boolean libdatephp\cDate::IsWeekend()
     public  boolean libdatephp\cDate::IsYesterday()
     public  integer libdatephp\cDate::LOM()
     public  integer libdatephp\cDate::LOQ()
     public  integer libdatephp\cDate::LOW()
     public  integer libdatephp\cDate::LOY()
     public  \libdatephp\cDate libdatephp\cDate::Max(mixed $cmp)
     public  integer libdatephp\cDate::MaxWeekday()
     public  \libdatephp\cDate libdatephp\cDate::Min(mixed $cmp)
     public  integer libdatephp\cDate::Month()
     public  string libdatephp\cDate::Month0()
     public  integer libdatephp\cDate::NOQ()
     public  integer libdatephp\cDate::NOW()
     public  mixed libdatephp\cDate::PrintOn(resource $fptr)
     public  integer libdatephp\cDate::Quarter()
     public  mixed libdatephp\cDate::ScanFrom(resource $fptr)
     public  mixed libdatephp\cDate::SeekWeekday(integer $weekday, integer $direction, boolean $skipper)
     public  mixed libdatephp\cDate::SetDate(mixed $m, integer $d, integer $y)
     public  mixed libdatephp\cDate::SetDay(integer $d)
     public  mixed libdatephp\cDate::SetMonth(integer $m)
     public  mixed libdatephp\cDate::SetTimeStamp(integer $j)
     public  mixed libdatephp\cDate::SetToday()
     public  mixed libdatephp\cDate::SetWOQ(integer $w, integer $wd)
     public  mixed libdatephp\cDate::SetWOY(integer $w, integer $wd)
     public  mixed libdatephp\cDate::SetYear(integer $y)
     public  mixed libdatephp\cDate::Skip(integer $count)
     public  integer libdatephp\cDate::TimeStamp()
     public  integer libdatephp\cDate::WOM()
     public  integer libdatephp\cDate::WOQ()
     public  integer libdatephp\cDate::WOY()
     public  integer libdatephp\cDate::Weekday()
     public  integer libdatephp\cDate::Year()
     public  \libdatephp\cDate libdatephp\cDate::__construct(mixed $m, mixed $d, integer $y)
     public  boolean libdatephp\cDate::eq(mixed $cmp)
     public  boolean libdatephp\cDate::ge(mixed $cmp)
     public  boolean libdatephp\cDate::gt(mixed $cmp)
     public  boolean libdatephp\cDate::le(mixed $cmp)
     public  boolean libdatephp\cDate::lt(mixed $cmp)

Clone this wiki locally