Bitcoin Forum
June 20, 2018, 08:07:54 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   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)
1529525274
Hero Member
*
Offline Offline

Posts: 1529525274

View Profile Personal Message (Offline)

Ignore
1529525274
Reply with quote  #2

1529525274
Report to moderator
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1529525274
Hero Member
*
Offline Offline

Posts: 1529525274

View Profile Personal Message (Offline)

Ignore
1529525274
Reply with quote  #2

1529525274
Report to moderator
1529525274
Hero Member
*
Offline Offline

Posts: 1529525274

View Profile Personal Message (Offline)

Ignore
1529525274
Reply with quote  #2

1529525274
Report to moderator
1529525274
Hero Member
*
Offline Offline

Posts: 1529525274

View Profile Personal Message (Offline)

Ignore
1529525274
Reply with quote  #2

1529525274
Report to moderator
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1554
Merit: 1001


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: 1736
Merit: 1015


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: 1736
Merit: 1015


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!