C++ Builder 参考手册 ➙ System::Dateutils ➙ HourOfTheDay
这个日期时间在当天的第几个小时
头文件:#include <System.DateUtils.hpp>
命名空间:System::Dateutils
函数原型:
System::Word __fastcall HourOfTheDay(const System::TDateTime AValue);
参数:
- AValue:日期时间类型变量;
返回值:
- 这个日期时间在当天的第几个小时,0 ~ 23,也就是这个日期时间的小时,和 HourOf 的结果相同。
相关:
- System::Dateutils::DateOf
- System::Dateutils::DateTimeToUnix
- System::Dateutils::DayOf
- System::Dateutils::DayOfTheMonth
- System::Dateutils::DayOfTheWeek
- System::Dateutils::DayOfTheYear
- System::Dateutils::DecodeDateMonthWeek
- System::Dateutils::DecodeDateTime
- System::Dateutils::DecodeDateWeek
- System::Dateutils::EncodeDateMonthWeek
- System::Dateutils::EncodeDateTime
- System::Dateutils::EncodeDateWeek
- System::Dateutils::HourOf
- System::Dateutils::HourOfTheDay
- System::Dateutils::HourOfTheMonth
- System::Dateutils::HourOfTheWeek
- System::Dateutils::HourOfTheYear
- System::Dateutils::IsValidDateMonthWeek
- System::Dateutils::IsValidDateWeek
- System::Dateutils::MilliSecondOf
- System::Dateutils::MilliSecondOfTheDay
- System::Dateutils::MilliSecondOfTheYear
- System::Dateutils::MinuteOf
- System::Dateutils::MinuteOfTheDay
- System::Dateutils::MinuteOfTheMonth
- System::Dateutils::MinuteOfTheWeek
- System::Dateutils::MinuteOfTheYear
- System::Dateutils::MonthOf
- System::Dateutils::MonthOfTheYear
- System::Dateutils::SecondOf
- System::Dateutils::SecondOfTheDay
- System::Dateutils::SecondOfTheMonth
- 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 ➙ HourOfTheDay