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