Search found 18 matches: utc

Searched query: utc

by Lailton
Thu Oct 31, 2024 11:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Startup function
Replies: 29
Views: 2976

Re: Startup function

... ifndef __HB_MAIN__
#define __HB_MAIN__ AppMain /* Or whatever you wish to call it */
#endif
FUNCTION __HB_MAIN__()

2003-08-02 12:00 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com>
* xharbour/make_tgz.sh
* xharbour/xharbour.spec
* xharbour/source/vm/hvm.c
* small modification in ...
by Antonio Linares
Mon Oct 28, 2024 1:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Startup function
Replies: 29
Views: 2976

Re: Startup function

... ifndef __HB_MAIN__
#define __HB_MAIN__ AppMain /* Or whatever you wish to call it */
#endif
FUNCTION __HB_MAIN__()

2003-08-02 12:00 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com>
* xharbour/make_tgz.sh
* xharbour/xharbour.spec
* xharbour/source/vm/hvm.c
* small modification in ...
by JoséQuintas
Sun Oct 13, 2024 3:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 59
Views: 7512

Re: Browse of my ADO Class

... in any order (something not possible with Alexander's lib)

It is possible too, using an extra parameter when building library.

2021-10-31 04:50 UTC-0300 Jose Quintas
! source/winapi/hdialog.prg
! source/winapi/hwindow.prg
! Small change for multithread
Each thread will have it's own dialog ...
by nageswaragunupudi
Wed Jul 31, 2024 3:56 pm
Forum: FiveWin for Harbour/xHarbour
Topic: utc_timestamp() function problem
Replies: 3
Views: 524

Re: utc_timestamp() function problem

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.
by Silvio.Falconi
Wed Jul 31, 2024 3:42 pm
Forum: FiveWin for Harbour/xHarbour
Topic: utc_timestamp() function problem
Replies: 3
Views: 524

Re: utc_timestamp() function problem

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
by karinha
Wed Jul 31, 2024 1:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: utc_timestamp() function problem
Replies: 3
Views: 524

Re: utc_timestamp() function problem

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/windows/como-definir-a-hora-e-o-fuso-hor%C3%A1rio-dfaa7122-479f-5b98-2a7b-fa0b6e01b261 ...
by Taavi
Wed Jul 31, 2024 12:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: utc_timestamp() function problem
Replies: 3
Views: 524

utc_timestamp() function problem

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
by carlos vargas
Tue Mar 05, 2024 11:21 pm
Forum: FiveWin para Harbour/xHarbour
Topic: FWH 24.02 y Harbour con BCC7.7 y Select()
Replies: 19
Views: 5565

Re: FWH 24.02 y Harbour con BCC7.7 y Select()

... en harbour, aparentemente es un cambio inicuo que no debería provocar el error que experimentas, pero del dicho al hecho...


2024-02-09 20:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
...
...
* src/rdd/dbcmd.c
+ accept symbol items in Select() and DbSelectArea() just like in ...
by carlos vargas
Tue Mar 05, 2024 11:21 pm
Forum: FiveWin para Harbour/xHarbour
Topic: FWH 24.02 y Harbour con BCC7.7 y Select()
Replies: 19
Views: 5565

Re: FWH 24.02 y Harbour con BCC7.7 y Select()

... en harbour, aparentemente es un cambio inicuo que no debería provocar el error que experimentas, pero del dicho al hecho...


2024-02-09 20:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
...
...
* src/rdd/dbcmd.c
+ accept symbol items in Select() and DbSelectArea() just like in ...
by nageswaragunupudi
Mon Mar 04, 2024 5:27 pm
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo saber la fecha de los cambios a una carpeta?
Replies: 6
Views: 529

Re: ¿Cómo saber la fecha de los cambios a una carpeta?

Converting time in Spain to my local time in India.
We know the current UTC offset of Spain is +1:00 and India's is +5:30

Code: Select all | Expand

tsUTC := FW_AddTime( DateTimeSpain. "-01:00:00" )
tsIndia := FW_AddTime( tsUTC, "05:30:00" )
by nageswaragunupudi
Mon Mar 04, 2024 5:21 pm
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo saber la fecha de los cambios a una carpeta?
Replies: 6
Views: 529

Re: ¿Cómo saber la fecha de los cambios a una carpeta?

Time Zone conversions
Here is an example converting our local time to UTC and then NewYork time ( UTC Offset now -5:00 )

function TimeZoneConversions()

local tDateTimeLocal, tDateTimeUTC, tDateTimeNYC

tDateTimeLocal := HB_DateTime() // current time
tDateTimeUTC := UTC_TIMESTAMP( tDateTimeLocal ...
by nageswaragunupudi
Mon Jan 29, 2024 2:43 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to convert a Date to an Unix TimeStamp?
Replies: 8
Views: 981

Re: How to convert a Date to an Unix TimeStamp?

Both are same.
In that website there is an implicit conversion from your time zone to UTC.
Try this code:

Code: Select all | Expand

? FW_DateToUnix( UTC_TIMESTAMP() )
Note: UTC_TIMESTAMP() is an FWH function
by nageswaragunupudi
Mon Jan 29, 2024 1:42 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to convert a Date to an Unix TimeStamp?
Replies: 8
Views: 981

Re: How to convert a Date to an Unix TimeStamp?

... with Seconds.

Examples:
? oCn:QueryResult( "SELECT UNIX_TIMESTAMP( ? )", { HB_DateTime() } )
? oCn:QueryResult( "SELECT FROM_UNIXTIME( ? , '%d-%m-%Y %H:%i:%S')", { nUnixTimeInSeconds} )

Also while dealing with TimeStamps in MySql, we need to keep in mind automatic TimeZone conversions from UTC.
by Joaquim Ferrer
Thu Nov 23, 2023 3:09 pm
Forum: Utilities / Utilidades
Topic: How to build Harbour 32 & 64 bits
Replies: 38
Views: 45827

Re: How to build Harbour 32 & 64 bits

A partir del ultimo commit de harbour
2023-11-22 09:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
He intentado construir harbour con BCC77 y da el siguiente error

bcc32.exe -I. -I../../../../../../include -q -tWM -CP437 -w-sig- -w-aus- -w-ccc- -w-csu- -w-par- -w-rch- -w-ucp- -w-use- -w ...
by Enrico Maria Giordano
Fri Oct 20, 2023 8:31 am
Forum: FiveWin para Harbour/xHarbour
Topic: Falta unicows.dll al crear librerias con Harbour
Replies: 11
Views: 1074

Re: Falta unicows.dll al crear librerias con Harbour

Reference:

2012-09-11 21:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
* harbour/config/win/bcc.mk
+ added support for BCC6.5 - please verify me.
; unicows library does not support BCC 6.5. BCC users who want
to compile Harbour should delete harbour ...