WeekOf - C++ Builder

C++ Builder 参考手册 ➙ System::Dateutils ➙ WeekOf


这个日期时间在这一年的第几周 (ISO 8601)

头文件:#include
命名空间:System::Dateutils
函数原型:

System::Word __fastcall WeekOf(const System::TDateTime AValue);

参数:

  • AValue:日期时间类型变量;

返回值:

  • 返回值为 AValue 日期时间在这一年的第几周 (ISO 8601),范围 1 - 53
  • 一年一共有 52 或 53 周,有关一年有多少周请参考 WeeksInYear,这些周的分配规则请参考 IsValidDateWeek

相关:

  • System::Dateutils::DateOf
  • System::Dateutils::DateTimeToUnix
  • System::Dateutils::DayOf
  • System::Dateutils::DayOfTheMonth
  • System::Dateutils::DayOfTheWeek
  • System::Dateutils::DayOfTheYear
  • System::Dateutils::DecodeDateTime
  • System::Dateutils::EncodeDateTime
  • System::Dateutils::HourOf
  • System::Dateutils::IsValidDateWeek
  • System::Dateutils::MilliSecondOf
  • System::Dateutils::MinuteOf
  • System::Dateutils::MonthOf
  • System::Dateutils::SecondOf
  • System::Dateutils::TimeOf
  • System::Dateutils::TryEncodeDateTime
  • System::Dateutils::UnixToDateTime
  • System::Dateutils::WeeksInYear
  • System::Dateutils::YearOf
  • System::Dateutils
  • System::Sysutils::CurrentYear
  • System::Sysutils::Date
  • System::Sysutils::DecodeDate
  • System::Sysutils::DecodeDateFully
  • System::Sysutils::DecodeTime
  • System::Sysutils::EncodeDate
  • System::Sysutils::EncodeTime
  • System::Sysutils::FormatDateTime
  • System::Sysutils::Now
  • System::Sysutils::Time
  • System::Sysutils::TryEncodeDate
  • System::Sysutils::TryEncodeTime
  • System::Sysutils::TryStrToDate
  • System::Sysutils::TryStrToDateTime
  • System::Sysutils::TryStrToTime
  • System::Sysutils

C++ Builder 参考手册 ➙ System::Dateutils ➙ WeekOf

你可能感兴趣的:(WeekOf - C++ Builder)