天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
日期时间
>
简单转换函数
DateToInt
复制链接
简述
将日期类型的EndT转换成整数类型
定义
DateToInt(DateTime:TDateTime):Integer;
参数
名称
类型
说明
DateTime
TDateTime
日期类型
返回
Integer
整数类型的日期
范例
DateTime:=40559;
Return DateToInt(DateTime);
//结果:20110116
相关
DateToInt
IntToDate
StrToDateExt
ExcelIntToDate
ExcelDateToInt
FormatStrToDateTime2