Search found 173 matches: utc

Return to advanced search

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: 3624

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: 3624

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 view
tsUTC := FW_AddTime( DateTimeSpain. "-01:00:00" )
tsIndia := FW_AddTime( tsUTC, "05:30:00" )
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: 192

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()  // ...
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: 192

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 view
? FW_DateToUnix( UTC_TIMESTAMP() )

Note: UTC_TIMESTAMP() is an FWH function
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: 575

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

... { nUnixTimeInSeconds} ) Also while dealing with TimeStamps in MySql, we need to keep in mind automatic TimeZone conversions from UTC.
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: 575

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- ...
by Joaquim Ferrer
Thu Nov 23, 2023 3:09 pm
 
Forum: Utilities / Utilidades
Topic: How to build Harbour 32 & 64 bits
Replies: 38
Views: 33006

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 ...
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: 484

Re: UNIX to date

... "19700101000000" ) + ( nUnixDate / 24.0 / 3600.0 ) This returns the harbor DateTime value. Testing from India: present UTC nUnixTime is 1683872102 ? tUTC := UnixToDateTime( nUnixTime ) // 12-05-2023 06:15:02 ? tLocal := FW_UTCTOLOCAL( tUtc ) // 12-05-2023 11:45:02 Compare ...
by Silvio.Falconi
Fri May 12, 2023 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: UNIX to date
Replies: 2
Views: 172

Re: UNIX to date

... "19700101000000" ) + ( nUnixDate / 24.0 / 3600.0 ) This returns the harbor DateTime value. Testing from India: present UTC nUnixTime is 1683872102 ? tUTC := UnixToDateTime( nUnixTime ) // 12-05-2023 06:15:02 ? tLocal := FW_UTCTOLOCAL( tUtc ) // 12-05-2023 11:45:02 Compare ...
by nageswaragunupudi
Fri May 12, 2023 5:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: UNIX to date
Replies: 2
Views: 172

Re: chat open Ai questions ( currency rates )

Silvio, you can use another STRTRAN. cText := StrTran(cText, '"', '' ) Regards, Otto aShow := {}                cText    := MEMOREAD( cFile)                                cText    := ALLTRIM( cText )                cText    := StrTran( cText, CRLF,  ","...
by Silvio.Falconi
Thu May 11, 2023 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: chat open Ai questions ( currency rates )
Replies: 5
Views: 311

Re: Problem with SQL Native

... to our local time zone, at the very beginning. with SET @@session.time_zone = '-03:00';  and then proceed. Note: '-03:00' is Brazil TimeZone (UTC-3). If I am still not clear, please let me know.
by nageswaragunupudi
Mon Feb 14, 2022 9:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with SQL Native
Replies: 28
Views: 1677

Re: Problem with SQL Native

hi, did you use ORDER BY mytimestamp when "compare" TIMESTAMP :?: as i know ORDER BY use UTC but you want "Local Time" so try ORDER BY CAST(mytimestamp AS datetime) It is not necessary to ORDER BY THE field for setting WHERE clause on that field. ...
by nageswaragunupudi
Mon Feb 07, 2022 2:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with SQL Native
Replies: 28
Views: 1677

Re: Problem with SQL Native

hi, did you use ORDER BY mytimestamp when "compare" TIMESTAMP :?: as i know ORDER BY use UTC but you want "Local Time" so try ORDER BY CAST(mytimestamp AS datetime) It is not necessary to ORDER BY THE field for setting WHERE clause on that field. ...
by nageswaragunupudi
Mon Feb 07, 2022 2:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with SQL Native
Replies: 28
Views: 1677

Re: Problem with SQL Native

hi,

did you use
Code: Select all  Expand view
ORDER BY mytimestamp

when "compare" TIMESTAMP :?:

as i know ORDER BY use UTC but you want "Local Time" so try
Code: Select all  Expand view
ORDER BY CAST(mytimestamp AS datetime)
by Jimmy
Sun Feb 06, 2022 11:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with SQL Native
Replies: 28
Views: 1677
Next

Return to advanced search