Page 1 of 1

utc_timestamp() function problem

Posted: Wed Jul 31, 2024 12:54 pm
by Taavi
Hello,
seems that utc_timestamp() is giving me -2 hours from my local time (east european summer time) while correct would be -3 hours.

Can it be fixed? Or any workarounds?

https://www.timestamp-converter.com/

Taavi

Re: utc_timestamp() function problem

Posted: Wed Jul 31, 2024 1:38 pm
by karinha
Good morning. Have you SYNCED your WINDOWS clock? See the TAB: INTERNET TIMETABLE.

Buen día. ¿Has SINCRONIZADO tu reloj de WINDOWS? Ver la PESTAÑA: HORARIOS DE INTERNET.

https://support.microsoft.com/pt-br/win ... 26%20hora.

Regards, saludos.

Re: utc_timestamp() function problem

Posted: Wed Jul 31, 2024 3:42 pm
by Silvio.Falconi
Taavi wrote:Hello,
seems that utc_timestamp() is giving me -2 hours from my local time (east european summer time) while correct would be -3 hours.

Can it be fixed? Or any workarounds?

https://www.timestamp-converter.com/

Taavi
Nages made a fwh function please search on my oldest topic

Re: utc_timestamp() function problem

Posted: Wed Jul 31, 2024 3:56 pm
by nageswaragunupudi
FWH function UTC_TIMESTAMP() is based on Harbour function HB_TStoUTC( tDateTime )
The Harbour functions HB_UTCOFFSET() and HB_TSTOUTC() work correctly if the Windows Settings of timezone are correct.