Search found 97 matches: epoch

Return to advanced search

Re: DateTime calculation

... fine :-) (not exactly correct, but the explanation seems fine) Yes, it looks like the timestamp you provided is in milliseconds since the Unix epoch. To convert a Harbour date variable into a Unix timestamp expressed in milliseconds, you need to follow these steps: Get the date value from the ...
by Antonio Linares
Sat Jan 27, 2024 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DateTime calculation
Replies: 6
Views: 628

Re: Class TNeuralNetwork for Harbour

... predicted_output[7], loss    initialize_parameters(weights_input_hidden, weights_hidden_output, bias_hidden, bias_output)    FOR epoch := 1 TO EPOCHS        hidden_output = Array( 10 )        predicted_output = Array( 7 )               forward_propagation(inputs, ...
by Antonio Linares
Sun Nov 19, 2023 10:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Class TNeuralNetwork for Harbour
Replies: 16
Views: 1301

Re: xHarbour.org updated!

... "Testing " // pad("Testing Gets",40) LOCAL nNum := 0 LOCAL dDat := Date() inicio := 0 Set Century on Set Date To British Set Epoch to 1960 Set Multiple On Set Deleted On DEFINE DIALOG oDlg TITLE "TGet from " + FWDESCRIPTION @ 1, 2 SAY "Text..:" OF oDlg ...
by wartiaga
Tue Sep 19, 2023 7:57 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 154
Views: 30987

Re: xHarbour.org updated!

... "Testing " // pad("Testing Gets",40) LOCAL nNum := 0 LOCAL dDat := Date() inicio := 0 Set Century on Set Date To British Set Epoch to 1960 Set Multiple On Set Deleted On DEFINE DIALOG oDlg TITLE "TGet from " + FWDESCRIPTION @ 1, 2 SAY "Text..:" OF oDlg ...
by wartiaga
Tue Sep 19, 2023 12:16 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 154
Views: 30987

Re: xHarbour.org updated!

... LOCAL cCad := "Testing " // pad("Testing Gets",40) LOCAL nNum := 0 LOCAL dDat := Date() Set Century on Set Date To British Set Epoch to 1960 Set Multiple On Set Deleted On DEFINE DIALOG oDlg TITLE "TGet from " + FWDESCRIPTION @ 1, 2 SAY "Text..:" OF oDlg ...
by wartiaga
Mon Sep 18, 2023 7:22 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour.org updated!
Replies: 154
Views: 30987

Re: UNIX to date

Once we know that 1970-01-01 is the epoch date in Unix, it is very easy to write the conversion: function UnixToDateTime( nUnixDate )return HB_STOT( "19700101000000" ) + ( nUnixDate / 24.0 / 3600.0 ) This ...
by Silvio.Falconi
Fri May 12, 2023 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: UNIX to date
Replies: 2
Views: 167

Re: UNIX to date

Once we know that 1970-01-01 is the epoch date in Unix, it is very easy to write the conversion: function UnixToDateTime( nUnixDate )return HB_STOT( "19700101000000" ) + ( nUnixDate / 24.0 / 3600.0 ) This returns ...
by nageswaragunupudi
Fri May 12, 2023 5:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: UNIX to date
Replies: 2
Views: 167

Re: E-Mail UTF8 problem?

... Dear Dutch Please try with ( not with Fw_SetUnicode( .T. ) ), and tell me HB_SETCODEPAGE( "UTF8" ) MYSQL_TinyIntAsLogical( .T. ) SET EPOCH TO year(date())-90 SET DATE FORMAT TO 'DD/MM/YY' SET DATE BRITISH
by dutch
Sat Jul 24, 2021 12:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: E-Mail UTF8 problem?
Replies: 28
Views: 2487

Re: E-Mail UTF8 problem?

Dear Dutch
Please try with ( not with Fw_SetUnicode( .T. ) ), and tell me

HB_SETCODEPAGE( "UTF8" )

MYSQL_TinyIntAsLogical( .T. )

SET EPOCH TO year(date())-90
SET DATE FORMAT TO 'DD/MM/YY'
SET DATE BRITISH

by cnavarro
Sat Jul 24, 2021 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: E-Mail UTF8 problem?
Replies: 28
Views: 2487

Re: add fields to existing dbf

... filter to SetDeskWallPaper( "Fivewin.bmp" ) SetHandleCount(75) // to open until 75 files at a time set century on set date british set epoch to 1950 set deleted on if MsgGet( ctitle, cText, @cgroep, cBmpfile) cnaam=LEFT(cgroep,10) cchar=SUBSTR(cgroep,12,1) clenght=SUBSTR(cgroep,14,2) ...
by jds
Thu Jul 23, 2020 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: add fields to existing dbf
Replies: 7
Views: 1086

SET CENTURY ON de otra forma SOLUCIONADO

Hola al final localicé el fallo del efecto 2020, resulta que está definido dos veces y la segunda vez lo han definido como SET EPCOH TO 1920, y con lo cual este ultimo es el que perdura en todo el programa y ahora como los cojo solamente dos cifras interpreta que es el primer año del siglo, o sea 19...
by Andrés González
Fri Jan 03, 2020 9:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SET CENTURY ON de otra forma SOLUCIONADO
Replies: 2
Views: 385

Re: TCalex: Show bad Mouth View

Silvio.Falconi wrote:Any solution please ?
äh, em ... which EPOCH do use :?:
Code: Select all  Expand view
  SET EPOCH TO YEAR( DATE() ) - 50
by Jimmy
Thu Dec 12, 2019 3:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TCalex: Show bad Mouth View
Replies: 5
Views: 1037

Re: Efecto 2020

Excepto set date to british el resto es igual però con SET epoch to 1950
by Andrés González
Tue Nov 05, 2019 3:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Efecto 2020
Replies: 7
Views: 1115

Re: Efecto 2020

Podrás poner set Epoch to 2000 y probar.
Tengo entendido que esté comando indica de que año para arriba y el 20 está abajo del 50 no arriba


Enviado desde mi FIG-LX3 mediante Tapatalk
by admsoporte
Tue Nov 05, 2019 2:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Efecto 2020
Replies: 7
Views: 1115

Efecto 2020

Tengo definido el set epoch a 1950 con set(5, 1950) , y hasta la fecha siempre me ha funcionado bien. Pero ahora que empezamos a dar fecha de alta del 2020 me hace una cosa rara por ejemplo en un mismo registro introduzco una fecha de ...
by Andrés González
Tue Nov 05, 2019 3:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Efecto 2020
Replies: 7
Views: 1115
Next

Return to advanced search