Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 8 Jahren, 3 Monaten
Letzter Beitrag:
vor 8 Jahren, 3 Monaten
Beteiligte Autoren:
Arie, Fabrice Harari, Fabrice Harari.pcs.crosspost

HFCS Backup time

Startbeitrag von Arie am 04.06.2009 11:22

Hi,

I'm using HBackup(). When I show a list of all backups via HInfoBackup(), the date is correct. However the time-part shows a difference of 2 hours.
I presume it has something to do with timezones or daylight savings. However HFCS-server and my apps are both on the same machine!

Arie

Antworten:

Hi Arie...

if I remember correctly, times at that level are UTC times... So would
you by any chance work in a UTC+2 or UTC-2 time zone?

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on http://www.fabriceharari.com


Arie Mars wrote:
> Hi,
> I'm using HBackup(). When I show a list of all backups via HInfoBackup(), the date is correct. However the time-part shows a difference of 2 hours.
> I presume it has something to do with timezones or daylight savings. However HFCS-server and my apps are both on the same machine!
> Arie
>
Message forwarded from pcsoft.us.windev

von Fabrice Harari.pcs.crosspost - am 04.06.2009 16:15
Fabrice,
greetings from Holland!
Which means UTC+1. Plus daylight saving 1 hour -> indeed UTC+2.

No big deal right now. I asked PCSOFT to deal with it. Maybe in V15?
Arie

von Arie - am 04.06.2009 17:36
Hi Arie...

as for any date/time that has to be stored for users potentially in different time zone, this one HAS to be stored as UTC...

Now of course, YOU can translate that time using the UTCxxx functions and display it in your local time

best regards



von Fabrice Harari - am 04.06.2009 21:17
Frabrice, indeed DateTimeUTCToLocal() is what I was looking for. Missed that one.
Thanks.
Arie

von Arie - am 05.06.2009 07:21
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.