天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
日期时间
>
分解函数
DayOf
复制链接
简述
返回参数AValue中包含的日期信息。值域[1,31]
定义
DayOf(AValue: TDateTime): Integer;
参数
名称
类型
说明
AValue
TDateTime
日期类型,日期
范例
hour:=dayof(strtodatetime('2011-08-08 11:22:06'));
return hour; //输出: 8
参考
TDateTime
DecodeDate
YearOf
MonthOf
HourOf
MinuteOf
SecondOf
MilliSecondOf
相关
DateOf
TimeOf
YearOf
MonthOf
DayOf
HourOf
MinuteOf
SecondOf
MilliSecondOf