天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
日期时间
>
常用日期时间函数
EncodeDate
复制链接
简述
将参数指定的Year,Month,Day作为年、月、日组成一个TDateTime类型返回
定义
EncodeDate(Year; Month; Day: Integer): TDateTime;
参数
名称
类型
说明
Year
Integer
整数,年
Month
Integer
整数,月
Day
Integer
整数,日
返回
TDateTime
日期
范例
date:=EncodeDate(2011,8,6);
return date;//输出:40761
参考
TDateTime
EncodeTime
TryEncodeDate
TryEncodeTime
DecodeDate
DecodeDateFully
DecodeTime
相关
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