Search found 33 matches: stod

Return to advanced search

Help with complex JSON

... static function ParseDateTime( cDateTime ) local dDate, cTime cTime := SubStr( cDateTime, 12, 8 ) dDate := STOD( StrTran( Left( cDateTime, 10 ), "-", "" ) ) return { dDate, cTime } /*** JSON below {"vessel":{"vesselIMONumber":"9332999","carrierVesselCode":"Q4F","vesselName":"MAERSK ...
by cdmmaui
Tue Mar 21, 2023 1:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with complex JSON
Replies: 12
Views: 1254

Re: Set Filter in Tdatabase/tdata

... dDataFinaleSET DATE ITALIANdDataIniziale:= ctod("04/07/2021")dDataFinale:= ctod("08/07/2021")  OR use STOD() which is safe whatever is the date format local dDataIniziale:= STOD( "20210704" )local dDataFinale  := STOD( "20210708" ...
by nageswaragunupudi
Mon Apr 19, 2021 12:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Set Filter in Tdatabase/tdata
Replies: 6
Views: 695

Mr.Rao. Error grave RowSet: ReQuery fwh 2102

... 0 hours 0 mins 9 secs Error occurred at: 30/03/2021, 18:51:24 Error description: Error BASE/1132 Error de rango: acceso al array Args: [ 1] = A {SToD("20210308"),"00020108 ",2,108,"AJO/S SOLAR DEL GENERAL S.A.",109,"VISCUSSO FA ... } [ 2] = N 16 Stack Calls ...
by Ariel
Wed Mar 31, 2021 2:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mr.Rao. Error grave RowSet: ReQuery fwh 2102
Replies: 8
Views: 1201

problemas al linkear

Hola. usando harbour y Fwh la ultima. Me arroja estos errores: [1]:iLink32.Exe -Gn -q -aa -Tpe -x @testMaria.bcl Error: Unresolved external 'WinMain' referenced from X:\HARB\BCC7\LIB\C0W32.OBJ Error: Unresolved external '_hb_vmProcessSymbols' referenced from X:\PROYECTOS\TEST\MARIA\OBJ\MARIA.OBJ Err...
by goosfancito
Thu Feb 04, 2021 9:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problemas al linkear
Replies: 6
Views: 452

Re: add recs/repl fields to an existing table of SQL db

oRs:Date := STOD( "20150815" ) oRs:Update() Great! Thank you Rao. With SQL syntax is ok, using Recordset only a correction i had to make compared to the two rows above: oRs:fields("Date"):value := STOD( "20150815" ...
by max
Sat Apr 27, 2019 8:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: add recs/repl fields to an existing table of SQL db
Replies: 4
Views: 1328

Re: tdatabase Filter error

... and dDataFinale and I have set date Italian on dbf I have the date as 16/07/18 how I can make to have and use as your test dDataIniziale := STOD( "20180701" ) ?
by Silvio.Falconi
Fri Apr 26, 2019 10:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: tdatabase Filter error
Replies: 20
Views: 1661

Re: strange error

... Till you set the date format is the default format "mm/dd/yy". 14 as month is invalid. To avoid such mistakes it is a good idea to use STOD( "20190814" ). This does not depend on date format.
by nageswaragunupudi
Mon Feb 25, 2019 2:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: strange error
Replies: 2
Views: 458

Re: NNETFILES() creation time of a file

... with Emagdbu.exe a record. But FILESTATS() shows not the correct date of changing. I use xHarbour. "c:\xkm\T__058.dbf" dCreated = SToD("20180328") nCreateTime = 68501 "c:\xkm\T__058.dbf" dChangeDate = SToD("20180328") nChangeTime = 68501 http://www.atzwanger-software.com/fw/createtime.jpg
by Otto
Fri Jun 15, 2018 7:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: NNETFILES() creation time of a file
Replies: 4
Views: 658

Re: funciones de FWH y Harbour en un archivo .txt

... SoundEx(<cString>)->cSoundExString Space(<nCount>)->cSpaces SQrt(<nNumber>)->nRoot Standard()->cNull StoD([<cDate>])->dDate StoT([<cDateTime>])->dDateTime Str(<nNumber>,[<nLength>],[<nDecimals>],[lTrim])->cNumber ...
by rubenfernandez01
Sun Oct 22, 2017 4:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5727

Re: funciones de FWH y Harbour en un archivo .txt

... SoundEx(<cString>)->cSoundExString Space(<nCount>)->cSpaces SQrt(<nNumber>)->nRoot Standard()->cNull StoD([<cDate>])->dDate StoT([<cDateTime>])->dDateTime Str(<nNumber>,[<nLength>],[<nDecimals>],[lTrim])->cNumber ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5727

Re: funciones de FWH y Harbour en un archivo .txt

... SetLastKey SetMode SetMouse SetNewDate SetNewTime SetPos SetPrc SetPrec SetRegistry SetTime ShowTime Sign Sin SinH SoundEx Space SQrt Standard StoD StoT Str StrDel StrDiff StrFile StrFormat StringToLiteral StrOccurs StrPeek StrPoke StrScreen StrSwap StrToHex StrTran StrZero Stuff SubStr SX_DtoP ...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5727

Re: Dates behave different with Sql systax ?

... with both xHarbour and Harbour and has nothing to do with any SQL. d1 := {^ 2000/11/29 } // Assignment is done at compile time is same as d1 := STOD( "20001129" ) // Assignment is done at runtime and so, slower Please never use CTOD(..) because this depends on date format set, which ...
by nageswaragunupudi
Mon Jan 09, 2017 1:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Dates behave different with Sql systax ?
Replies: 4
Views: 2142

Re: last xharbour compile error

I just found that the following FWH modules do include hbcompat.ch: database.prgvaltostr.prg EMG I test xharbour->\xhb10162_con\xharbour\contrib\MySQL folder, TMySQL.prg not include hbcompat.ch so when make EXE, appear Error message .... 'HB_STOD' , ' HB_SYMBOL_UNUSED' add hpcompat.ch include an...
by richard-service
Sun Oct 09, 2016 3:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: last xharbour compile error
Replies: 27
Views: 4880

Re: ADO RDD xHarbour

Antonio,

In ADO_GETVALUE there is a function hb_stod I dont know why!

Should I use stod
by AHF
Sat Mar 28, 2015 4:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 448279

Re: ADO RDD xHarbour

Antonio,

Thanks its solved.

I need this hb_SToD() What does it do and were can I find it?

Can you post the source?
by AHF
Sat Mar 28, 2015 7:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 448279
Next

Return to advanced search