DateToStr
范例(t):

EndT:=inttodate(20140117);
Return DateToStr(EndT); //输出 2014-01-17

参考:…
TimeToStr
范例(t):

//输入时间或者日期时间
Return timeToStr(0.5);
return timetostr(now());
参考:[ref]TDa…
DateTimeToStr
范例(t):

EndT:=now();
Return DateTimeToStr(EndT);//输出当前系统日期时间
参考:[ref]TDateTime[/r…
StrToDate
范例(t):

Return StrToDate("2010-02-04");//输出40213
参考:TDateTime
StrToDateDef
范例(t):

Return StrToDateDef("2010-02-30",date());//转换失败输出当前日期40763
参考:[r…
TryStrToDate
范例(t):

[code]
If TryStrToDate("2010-02-04 ",date) then
Return date;//输出40213
[/code…
StrToTime
范例(t):

Return StrToTime("15:20:34");//输出0.64
参考:TDateTime […
StrToTimeDef
范例(t):

[code]
time:=StrToTimeDef("15:61:34 ",time()); 
Return time; //输出当前系统时间
[/co…
TryStrToTime
范例(t):

If TryStrToTime("15:52:35",time) then
Return time;//输出0.66
参考:…
StrToDateTime
范例(t):

Return StrToDateTime("2011-08-08 16:00:16 ");//输出40763.67
参考:[re…
StrToDateTimeDef
范例(t):

[code]
Return StrToDateTimeDef("2011-08-08 16:61:16 ",now());//输出当前系统日期时间
[/co…
TryStrToDateTime
范例(t):

[code]
If TryStrToDateTime("2010-02-04 16:11:35 ",datetime) then
Return datet…
FormatDateTime
范例(t):

[code]
Return FormatDateTime("C",now());//输出2011-08-08 16:27:08
Return FormatDateTime("D…
DateTimeToString
范例(t):

[code]
DateTimeToString(result,'YYYY-MM-DD HH:NN:SS',now()) ;
Return result;//输出当期系统日期时…
Format
范例(t):

1、把两个数字格式化为字符串:Format('First %d, Second %d', n1, n2);
其中n1和n2是两个整数值,第一个占位符由第一个值替代,第二个占位符由…
SetFormatLocalCode
范例(t):

SetFormatLocalCode(0);
return GetFormatLocalCode();//输出:0
参考:[ref]GetForm…
GetFormatLocalCode
范例(t):

SetFormatLocalCode(0);
return GetFormatLocalCode();//输出:0
参考:[ref]SetForm…
FloatToStr
范例(t):

Return FloatToStr(23.4);
//输出字符串:"23.4"
参考:IntToHex
CurrToStr
范例(t):

Return CurrToStr(23.24);
//输出字符串:"23.24"
参考:IntToHex
FormatFloat
范例(t):

[htm]<table><tbody><tr><td>
格式串</td><td>
1234</td><td>
-1234</td><td>
0.5</td><td>
0<…
FormatCurr
范例(t):

Return FormatCurr('0.000E+00',232.24);
//输出:2.322E+02
参考:[ref]SetFormatL…
StrToFloat
范例(t):

Return StrToFloat('3434.244');
//输出实数:3434.24
参考:IntToHex [r…
StrToFloatDef
范例(t):

Return StrToFloatDef('a',2);
//输出:2
参考:IntToHex [ref]StrToIn…
TryStrToFloat
范例(t):

TryStrToFloat('321.23',s);
return s; //输出:321.23
参考:IntToHex
StrToCurr
范例(t):

Return StrToCurr('1321.23333');
//输出实数:1321.2333
参考:IntToHex
StrToCurrDef
范例(t):

Return StrToCurrDef('1321.233',3);
//输出:1321.233
参考:IntToHex
TryStrToCurr
范例(t):

TryStrToCurr('1321.2333',s);
return s;
//输出:1321.2333
参考:[ref]IntToHex[/…
IniReadDate
范例(t):


[Code]

{读取本地文件:C:\Program Files\Tinysoft\Analyse.NET\Plugin\test.ini中节名称为Inidata2,键名称…