作者在 2015-04-09 12:08:03 发布以下内容
有这么一个数值型数据
Num=2015.02
转换为日期型数据:2015-02-01
Set Date Ansi
Set Century ON
Set Mark To "-"
? Date(Int(Num),(Num-Int(Num))*100,1)
? Date(Int(Num),mod(Num*100,100),1)
有这么一个数值型数据
Num=2015.02
转换为日期型数据:2015-02-01
Set Date Ansi
Set Century ON
Set Mark To "-"
? Date(Int(Num),(Num-Int(Num))*100,1)
? Date(Int(Num),mod(Num*100,100),1)