DayOfTheMonth - C++ Builder

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


这个日期时间在这一个月的第几天

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

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

参数:

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

返回值:

  • 返回值为 AValue 日期时间在这个月的第几天,1 - 31;
  • 这个函数和 DayOf 相同,因为这个月的第几天,就是这个日期的日;
  • 如果要同时提取出年、月、日,可以用函数 DecodeDate;
    如果要同时提取出时、分、秒、毫秒,可以用函数 DecodeTime;
    如果要同时提取出年、月、日、时、分、秒、毫秒,可以用函数 DecodeDateTime。

相关:

  • 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::HourOfTheYear
  • System::Dateutils::IsValidDateMonthWeek
  • System::Dateutils::IsValidDateWeek
  • System::Dateutils::MilliSecondOf
  • System::Dateutils::MilliSecondOfTheYear
  • System::Dateutils::MinuteOf
  • System::Dateutils::MinuteOfTheYear
  • System::Dateutils::MonthOf
  • System::Dateutils::MonthOfTheYear
  • System::Dateutils::SecondOf
  • System::Dateutils::SecondOfTheYear
  • System::Dateutils::TimeOf
  • System::Dateutils::TryEncodeDateTime
  • System::Dateutils::UnixToDateTime
  • System::Dateutils::WeekOfTheMonth
  • System::Dateutils::WeekOfTheYear
  • 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 ➙ DayOfTheMonth

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