From 1e4a1ce0a999c30afe93ddd78e98541465bfa540 Mon Sep 17 00:00:00 2001 From: geby Date: Thu, 3 May 2012 09:43:51 +0000 Subject: [PATCH] Published synautil.DecodeTimeZone function. git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@152 7c85be65-684b-0410-a082-b2ed4fbef004 --- synautil.pas | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/synautil.pas b/synautil.pas index 7b564f7..f35a969 100644 --- a/synautil.pas +++ b/synautil.pas @@ -1,5 +1,5 @@ {==============================================================================| -| Project : Ararat Synapse | 004.015.000 | +| Project : Ararat Synapse | 004.015.001 | |==============================================================================| | Content: support procedures and functions | |==============================================================================| @@ -122,6 +122,10 @@ function GetMonthNumber(Value: String): integer; can use "hh:mm" or "hh:mm:ss".} function GetTimeFromStr(Value: string): TDateTime; +{:Decode string representation of TimeZone (CEST, GMT, +0200, -0800, etc.) + to timezone offset.} +function DecodeTimeZone(Value: string; var Zone: integer): Boolean; + {:Decode string in format "m-d-y" to TDateTime type.} function GetDateMDYFromStr(Value: string): TDateTime;