Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #6959
| Subject | Re: GetTimeZoneDiff() documentation missing |
|---|---|
| From | Camille Kater <katercam@pt.lu> |
| Date | Sat, 14 Jun 2014 09:57:26 +0200 |
| Message-ID | <1402733512_3@vo.lu> (permalink) |
| References | <lnda6q$fp4$1@speranza.aioe.org> <1402661063_1@vo.lu> <lnf96h$6bi$1@speranza.aioe.org> |
| Lines | 78 |
| NNTP-Posting-Host | 83.99.45.244 |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-2.dfn.de!news.dfn.de!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.vo.lu!not-for-mail |
| Newsgroups | comp.lang.clipper.visual-objects |
| X-Trace | vo.lu 1402733512 83.99.45.244 (14 Jun 2014 10:11:52 0200) |
| User-Agent | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
| MIME-Version | 1.0 |
| In-Reply-To | <lnf96h$6bi$1@speranza.aioe.org> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Antivirus | avast! (VPS 140613-1, 13/06/2014), Outbound message |
| X-Antivirus-Status | Clean |
| Xref | csiph.com comp.lang.clipper.visual-objects:6959 |
Show key headers only | View raw
HI Jamal,
Thanks for your reply.
Please keep me informed about your Unix Epoch time conversion.
I need those functions urgently.
Camille
On 13/06/2014 18:34, Jamal wrote:
> Hi Camille,
>
> The function found Internet SDK function and the function in VO28RUN.DLL
> are not the same.
>
> I wrote some VO function to do the Unix Epoch time conversion which I am
> still testing for accuracy for different time zones and daylight
> savings. I did not have to use the GetTimeZoneDiff().
>
> In the mean time I found the following in VB.NET. I'll probably create a
> lib and convert COM if the above does work out.
>
> Create a winform app, then on the Form, create two lables, and a button.
>
> Private Sub Button1_Click(sender As Object, e As EventArgs) Handles
> Button1.Click
> Me.Label1.Text = UnixTime2DT(1318536660)
> Me.Label2.Text = DT2UnixTime(Me.Label1.Text)
> End Sub
>
> Public Function UnixTime2DT(lUnixTimeStamp As Long) As Date
> UnixTime2DT = DateAdd("s", lUnixTimeStamp, #1/1/1970#)
> End Function
>
> Public Function DT2UnixTime(ByVal dDate As Date) As Long
> DT2UnixTime = DateDiff("s", #1/1/1970#, dDate)
> End Function
>
> Jamal
>
>
> "Camille Kater" wrote in message news:1402661063_1@vo.lu...
>
> Hi Jamal
>
> On my PC I get as return -1
>
> I found this function in the Internet SDK, while I was searching for a
> function to transform a Windows date to Unix Timestamp and vice-versa.
> But until now I had no success.
> Maybe there is somebody who can help with this Unix Timestamp ?
>
> Camille
>
> On 13/06/2014 00:39, Jamal wrote:
>> The GetTimeZoneDiff() is not documented in the help file.
>>
>> Does anyone have the description of this function and what the return
>> values mean?
>>
>> Thanks!
>> Jamal
>>
>
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
GetTimeZoneDiff() documentation missing "Jamal" <someone@example.com> - 2014-06-12 18:39 -0400
Re: GetTimeZoneDiff() documentation missing Camille Kater <katercam@pt.lu> - 2014-06-13 13:49 +0200
Re: GetTimeZoneDiff() documentation missing "Jamal" <someone@example.com> - 2014-06-13 12:34 -0400
Re: GetTimeZoneDiff() documentation missing Camille Kater <katercam@pt.lu> - 2014-06-14 09:57 +0200
Re: GetTimeZoneDiff() documentation missing "Karl-Heinz" <invalid@invalid.invalid> - 2014-06-15 18:27 +0200
Re: GetTimeZoneDiff() documentation missing "Jamal" <someone@example.com> - 2014-06-15 21:31 -0400
Re: GetTimeZoneDiff() documentation missing "Karl-Heinz" <invalid@invalid.invalid> - 2014-06-16 14:45 +0200
Re: GetTimeZoneDiff() documentation missing "Jamal" <someone@example.com> - 2014-06-16 18:49 +0300
Re: GetTimeZoneDiff() documentation missing "Karl-Heinz" <invalid@invalid.invalid> - 2014-06-17 08:49 +0200
Re: GetTimeZoneDiff() documentation missing Camille Kater <katercam@pt.lu> - 2014-06-16 17:26 +0200
Re: GetTimeZoneDiff() documentation missing "Jamal" <someone@example.com> - 2014-06-16 14:08 -0400
Re: GetTimeZoneDiff() documentation missing Camille Kater <katercam@pt.lu> - 2014-06-17 09:30 +0200
Re: GetTimeZoneDiff() documentation missing "Jamal" <someone@example.com> - 2014-06-17 10:37 -0400
Re: GetTimeZoneDiff() documentation missing Camille Kater <katercam@pt.lu> - 2014-06-18 09:34 +0200
Re: GetTimeZoneDiff() documentation missing "Karl-Heinz" <invalid@invalid.invalid> - 2014-06-17 08:47 +0200
csiph-web