天软金融分析.NET函数大全 > TSL函数 > 基础函数 > 日期时间 > 简单转换函数

DateToInt    

简述
将日期类型的EndT转换成整数类型
定义
DateToInt(DateTime:TDateTime):Integer;
参数
名称类型说明
DateTimeTDateTime日期类型
返回Integer整数类型的日期
  • 范例


    DateTime:=40559;

    Return DateToInt(DateTime);
    //结果:20110116
相关