Search found 150 matches: timestamp

Return to advanced search

New FTDN April 2024 (FWH 24.04)

... existing record oStatesRec:Edit() // modify and save the existing record - Methods CreateTable() 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 ...
by Antonio Linares
Wed Apr 24, 2024 7:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2024 (FWH 24.04)
Replies: 0
Views: 44

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

Thank you, now it's working perfectly :)
by vilian
Mon Jan 29, 2024 2:53 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?

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?

... FW_DateToUnix( MyDate ) //168486480000  But in https://www.timestamp-converter.com/ , I'm having a different result(as you can view bellow). Do you know why ? https://i.imgur.com/uvNARPC.jpg
by vilian
Mon Jan 29, 2024 2:08 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?

Hi Guys, How could I convert a date/time to an Unix TimeStamp? If you want to use this functionality with MySql, you can use the MySql built-in functions UNIX_TIMESTAMP( <datetime> ) FROM_UNIXTIM( nUnixTime ) Please note that ...
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 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 HB_DateTime()  ...
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: 575

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

We have already implemented those functions for FWH already

Please lets wait for Mr. Rao comments about them
by Antonio Linares
Mon Jan 29, 2024 1:26 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?

Ruth,
I tried it, but didn´t work here. IF you compare the result with that generated from https://www.timestamp-converter.com/, they aren´t the same.
by vilian
Mon Jan 29, 2024 1:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to convert a Date to an Unix TimeStamp?
Replies: 8
Views: 575

How to convert a Date to an Unix TimeStamp?

Hi Guys,

How could I convert a date/time to an Unix TimeStamp?
by vilian
Mon Jan 29, 2024 12:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to convert a Date to an Unix TimeStamp?
Replies: 8
Views: 575

Re: DateTime calculation

... and pasted your post into 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, ...
by Antonio Linares
Sat Jan 27, 2024 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DateTime calculation
Replies: 6
Views: 693

Re: DateTime calculation

... also like to kindly ask 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 ...
by Ruth
Sat Jan 27, 2024 7:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DateTime calculation
Replies: 6
Views: 693

Re: Nages, 2 diferent Db's update

... operation and we like to transfer from local to remote only those records inserted or modified recently, the process can be optimized if we have a timestamp fields which is updated with every insertion and modification. In such a case, we can simply use this method and do the entire operation with ...
by nageswaragunupudi
Wed Jan 17, 2024 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Nages, 2 diferent Db's update
Replies: 2
Views: 723

Re: DBF . Commit

... as follows. I open the database with EmagDbu238 while the MsgInfo is displayed. Then I see that "test" is in the database, although the timestamp of the file has not changed. Without the use of UNLOCK, it does not work. Exactly as Mr. Rao writes. Constantly committing stresses the hard ...
by Otto
Sun Oct 22, 2023 7:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF . Commit
Replies: 39
Views: 2343

creación oath_signature en oath 1.0

Hello everyone, I have a problem creating a signature to validate my identity in an oath 1.0 system y have this credentials oauth_consumer_key="8pr53tcagfih9bpvo24m1t8z9xd42tx3", oauth_nonce="W6ndLpigOjP025vmvGSJdqEEylRUusgg", oauth_signature_method="HMAC-SHA256", oauth...
by jlborlando
Sat Oct 21, 2023 10:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: creación oath_signature en oath 1.0
Replies: 2
Views: 285
Next

Return to advanced search