Search found 57 matches: milliseconds

Return to advanced search

xbrowse (likely a custom table) whose contents change dynam

... request. nIdx: An index variable used for iteration. aParameters: An array to store the keys of the decoded JSON. speedtest: Stores the current milliseconds count to measure execution time. Logging: logline("<H>", time()): Logs the current time to a log file. JSON Decoding: hb_jsondecode(AP_Body(), ...
by Otto
Sat May 04, 2024 7:42 am
 
Forum: mod_harbour
Topic: xbrowse (likely a custom table) whose contents change dynam
Replies: 0
Views: 71

New FTDN April 2024 (FWH 24.04)

... and ImportFromDBF() used to create DateTime and TimeStamp fields without support for fraction of seconds. Now support fraction of seconds milliseconds. - Improved support for Restoring large tables * FWMariaRowSet class - Fix in SetFilter() a) when filter condition contains "<a> ...
by Antonio Linares
Wed Apr 24, 2024 7:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 1
Views: 457

New FTDN February 2024 (FWH 24.02)

... FW_IsUtf8( cText, [@lAscii] ) --> lUtf8 (msgsapi.c) * New functions: (valtostr.prg) FW_DateToUnix( dDate/tDateTime ) --> nUnixTimeStamp in MilliSeconds FW_UnixToDate( nUnixTimeStamp(inMilliSeconds) ) --> tDateTime * New: function FW_CheckFont( cFontName ) --> lFound. It checks if ...
by Antonio Linares
Sat Mar 02, 2024 8:31 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN February 2024 (FWH 24.02)
Replies: 1
Views: 227

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

* New functions: (valtostr.prg) FW_DateToUnix( dDate/tDateTime ) --> nUnixTimeStamp in MilliSeconds FW_UnixToDate( nUnixTimeStamp(inMilliSeconds) ) --> tDateTime #ifdef __XHARBOUR__   #xtranslate HB_STOT( <c> ) => STOT( <c> )   #xtranslate ...
by nageswaragunupudi
Mon Jan 29, 2024 1:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to convert a Date to an Unix TimeStamp?
Replies: 8
Views: 582

Re: DateTime calculation

... chatgpt and the answer seems 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: ...
by Antonio Linares
Sat Jan 27, 2024 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DateTime calculation
Replies: 6
Views: 706

Re: DateTime calculation

... assistance with date and time handling. specifically: is it possible to convert a harbour date variable into a "unix timestamp expressed in milliseconds" (hope this is the correct term)? I am working on a project where I need to pass arrival and departure dates to a url. the expected ...
by Ruth
Sat Jan 27, 2024 7:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DateTime calculation
Replies: 6
Views: 706

Re: Saving OuterHTML using Await Implementation with TWebView

... data from web pages. The program also uses the FiveWin SysWait() function to pause the execution of the program for a specified number of milliseconds. This is used to prevent the program from consuming too much CPU resources while it is waiting for the web page to load. I hope this explanation ...
by CharlesKwon
Thu Aug 17, 2023 9:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1697

Re: Saving OuterHTML using Await Implementation with TWebView

... data from web pages. The program also uses the FiveWin SysWait() function to pause the execution of the program for a specified number of milliseconds. This is used to prevent the program from consuming too much CPU resources while it is waiting for the web page to load. I hope this explanation ...
by Otto
Thu Aug 17, 2023 8:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Saving OuterHTML using Await Implementation with TWebView
Replies: 24
Views: 1697

Re: milliseconds()

Dear Antonio,
thank you. I was searching for this quite a long time.
Best regards,
Otto
by Otto
Sat Dec 17, 2022 9:11 pm
 
Forum: mod_harbour
Topic: milliseconds()
Replies: 3
Views: 536

Re: milliseconds()

Dear Otto,

You can use HB_MILLISECONDS()
by Antonio Linares
Sat Dec 17, 2022 7:43 pm
 
Forum: mod_harbour
Topic: milliseconds()
Replies: 3
Views: 536

Re: milliseconds()

Dear Antonio,
I found a workaround:
If I subtract a number from seconds() and add it back, it shows decimal places.

hData[ 'seconds' ] := 10 + seconds()-a -10


Best regards,
Otto
by Otto
Sat Dec 17, 2022 5:02 pm
 
Forum: mod_harbour
Topic: milliseconds()
Replies: 3
Views: 536

milliseconds()

Dear Antonio,
is there a function milliseconds() in mod harbour.
Best regards,
Otto
by Otto
Sat Dec 17, 2022 4:56 pm
 
Forum: mod_harbour
Topic: milliseconds()
Replies: 3
Views: 536

Re: Problem with tdatabase

Three options: 1). Open the file, lock it, append the record, add the code to the field, save the record, unlock it. This happens in milliseconds and no other user on the network will have access. 2) Fill the data with blanks in variables, edit the variables with all the data, then in your ...
by Silvio.Falconi
Tue Dec 07, 2021 8:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tdatabase
Replies: 14
Views: 1894

Re: Problem with tdatabase

Three options: 1). Open the file, lock it, append the record, add the code to the field, save the record, unlock it. This happens in milliseconds and no other user on the network will have access. 2) Fill the data with blanks in variables, edit the variables with all the data, then in your ...
by TimStone
Mon Dec 06, 2021 11:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tdatabase
Replies: 14
Views: 1894

Re: time with milliseconds

Many Thanks.
by don lowenstein
Sat Mar 14, 2020 10:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: time with milliseconds
Replies: 3
Views: 618
Next

Return to advanced search