Skip to content

Reference cDate

Rainer Stötter edited this page Mar 27, 2018 · 1 revision

Reference of the library libdatephp

namespace

  • The namespace of the library libdatephp is libdatephp.

overview


The API documentation

  • If you want to use the classes in your projects, then use the user reference: ApiIndex
  • If you want to help to maintain the classes in your projects, then use the developer reference: DevApiIndex

The functional groups of the class cDate

Functional groups of the class cDate

constructing new cDate objects

cDate::__construct()

moving on the time line

cDate::AddDays() cDate::AddMonths() cDate::AddWeeks() cDate::AddYears() cDate::Dec() cDate::Inc()cDate::SeekWeekday() cDate::Skip()

string representations

cDate::AsAMPM() cDate::AsDMY() cDate::AsDMY0() cDate::AsISO8601() cDate::AsMDY() cDate::AsMDY0() cDate::AsRFC2822() cDate::AsSQL() cDate::AsSwatch() cDate::AsTimeStamp() cDate::AsUTC() cDate::As_ampm() cDate::C_Month_Long_DE() cDate::C_Month_Long_EN() cDate::C_Month_Short_DE() cDate::C_Month_Short_EN() cDate::C_Weekday_Long_DE() cDate::C_Weekday_Long_EN() cDate::C_Weekday_Short_DE() cDate::C_Weekday_Short_EN()

working with weeks:

cDate::BOW() cDate::DOW() cDate::EOW() cDate::GoBOW() cDate::GoEOW() cDate::LOW() cDate::NOW()

working with months:

cDate::BOM() cDate::DOM() cDate::EOM() cDate::GoBOM() cDate::GoEOM() cDate::LOM() cDate::WOM()

working with quarters:

cDate::BOQ() cDate::DOQ() cDate::EOQ() cDate::GoBOQ() cDate::GoEOQ() cDate::LOQ() cDate::NOQ() cDate::Quarter()

working with years:

cDate::BOY() cDate::DOY() cDate::EOY() cDate::GoBOY() cDate::GoEOY() cDate::LOY() cDate::WOY()

the managed date

cDate::Day() cDate::Day0() cDate::Month() cDate::Month0() cDate::TimeStamp() cDate::Weekday() cDate::Year()

setting the date and it's components

cDate::FromDMY() cDate::FromDate() cDate::FromMDY() cDate::FromSQL() cDate::FromTimestamp() cDate::SetDate() cDate::SetDay() cDate::SetMonth() cDate::SetTimeStamp() cDate::SetToday() cDate::SetYear()

where is the date ?

cDate::InApril() cDate::InAugust() cDate::InDecember() cDate::InFebruary() cDate::InJanuary() cDate::InJuly() cDate::InJune() cDate::InMarch() cDate::InMay() cDate::InNovember() cDate::InOctober() cDate::InSeptember() cDate::IsFriday() cDate::IsMonday() cDate::IsSaturday() cDate::IsSunday() cDate::IsThursday() cDate::IsTuesday() cDate::IsWednesday()

special

cDate::IsDST() cDate::IsLeapyear() cDate::IsSommerzeit()

Weekday and weekend

cDate::IsWeekday() cDate::IsWeekend() cDate::SeekWeekday()

serialization

cDate::PrintOn() cDate::ScanFrom()

comparing cDate values

cDate::eq() cDate::ge() cDate::gt() cDate::le() cDate::lt()

Clone this wiki locally