Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Karl-Heinz" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: GetTimeZoneDiff() documentation missing Date: Tue, 17 Jun 2014 08:49:23 +0200 Lines: 13 Message-ID: References: <1402661063_1@vo.lu> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Trace: individual.net lcEFuImXTUtYgeXhVF7F/gfTp7XfBaVibIIgvgyO3vzjuvFYU= Cancel-Lock: sha1:3uFtojMfw35EpQziC+uaK0oZcVE= In-Reply-To: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7600.16807 Xref: csiph.com comp.lang.clipper.visual-objects:6971 Hi Jamal, > Thanks! Your code works great with some changes since my interest is in > returning the Date and Time from the epoch time. I updated your function > UnixDateTime2WinDateTime to take an Epoch time and lUTCGMT flag, an > retrun an array of a human readable date and a time using TString: Glad to know the code also works in other timezones without the need of additional api calls and/or timezone calculations. regards Karl-Heinz