天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
日期时间
>
常用日期时间函数
IsLeapYear
复制链接
简述
返回参数指定的年份Year是否是个闰年,与系统参数无关。
定义
IsLeapYear(Year: Integer): Boolean;
参数
名称
类型
说明
Year
Integer
整数,年,年份
返回
Boolean
布尔,1表示闰年,0表示平年
范例
Return IsLeapYear(2000);//输出1
Return IsLeapYear(2011);//输出0
参考
IsInLeapYear
相关
EncodeDate
EncodeTime
TryEncodeDate
TryEncodeTime
DecodeDate
DecodeDateFully
DecodeTime
DayOfWeek
Date
Time
Now
CurrentYear
IncAMonth
IsLeapYear
DateToStr
TimeToStr
DateTimeToStr
StrToDate
StrToDateDef
TryStrToDate
StrToTime
Strtodatetime2
StrToTimeDef
TryStrToTime
StrToDateTime
StrToDateTimeDef
TryStrToDateTime
FormatDateTime
DateTimeToString
DateTimeToInternetStr
DateTimeGMTToCookieStr
DateTimeGMTToHttpStr
GMTToLocalDateTime