Bitcoin Forum
February 21, 2018, 06:15:01 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Json-rpc transaction date and time  (Read 1341 times)
r1b
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile WWW
February 10, 2011, 01:08:56 AM
 #1

Hi I've been working on integrating bitcoin into my personal finance application here: www.infinitypfm.org but I am scratching my head on how to get accurate date and time information on transactions using the api.

I searched over the docs here but am not seeing it: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list

Is this information available?

Thanks.

www.infinitypfm.org (http://www.infinitypfm.org)
1519193702
Hero Member
*
Offline Offline

Posts: 1519193702

View Profile Personal Message (Offline)

Ignore
1519193702
Reply with quote  #2

1519193702
Report to moderator
1519193702
Hero Member
*
Offline Offline

Posts: 1519193702

View Profile Personal Message (Offline)

Ignore
1519193702
Reply with quote  #2

1519193702
Report to moderator
1519193702
Hero Member
*
Offline Offline

Posts: 1519193702

View Profile Personal Message (Offline)

Ignore
1519193702
Reply with quote  #2

1519193702
Report to moderator
Automated Bitcoin Fork Extraction Tool WE DO TOUGH WALLETS: BCH | BTG | BCD | SBTC | UBTC | B2X | BCX | BTF Electrum 2FA, Trezor, Ledger, SegWit, Bech32
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1519193702
Hero Member
*
Offline Offline

Posts: 1519193702

View Profile Personal Message (Offline)

Ignore
1519193702
Reply with quote  #2

1519193702
Report to moderator
1519193702
Hero Member
*
Offline Offline

Posts: 1519193702

View Profile Personal Message (Offline)

Ignore
1519193702
Reply with quote  #2

1519193702
Report to moderator
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1512
Merit: 1000


View Profile
February 10, 2011, 01:26:18 AM
 #2

Hi I've been working on integrating bitcoin into my personal finance application here: www.infinitypfm.org but I am scratching my head on how to get accurate date and time information on transactions using the api.

I searched over the docs here but am not seeing it: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list

'listtransactions' gives you 'time', which is Unix time (seconds since Jan 1, 1970 UTC)

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
LZ
Staff
Legendary
*
Offline Offline

Activity: 1722
Merit: 1008


P2P Cryptocurrency


View Profile
February 10, 2011, 05:14:10 AM
 #3

Unix time

genjix
Legendary
*
expert
Offline Offline

Activity: 1232
Merit: 1000


View Profile
February 10, 2011, 05:33:12 AM
 #4

you need the new version which is 3.x.20

not on front page yet i dont think
r1b
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile WWW
February 10, 2011, 10:38:05 PM
 #5

Ok.  Will upgrade and give it a shot.  Thanks.

www.infinitypfm.org (http://www.infinitypfm.org)
LZ
Staff
Legendary
*
Offline Offline

Activity: 1722
Merit: 1008


P2P Cryptocurrency


View Profile
February 11, 2011, 07:47:38 AM
 #6

If you will use Unix time, remember about the Y2K38 problem. (Bitcoin uses int64 to resolve it.)



Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!