天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
日期时间
>
常用日期时间函数
GMTToLocalDateTime
复制链接
简述
将GMT串转换为日期。
定义
GMTToLocalDateTime(S:String):TDateTime;
参数
名称
类型
说明
S
String
字符串,GMT格式的时间字符串
范例
GMT:="Wed, 01 Jan 2014 10:00:00 GMT ";
datetime:=GMTToLocalDateTime(GMT);
Return datetime;//输出:41640.75 (时间为2014-01-01 18:00:00)
相关
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