Bitcoin Forum
December 03, 2016, 04:35:14 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Json-rpc transaction date and time  (Read 1257 times)
r1b
Newbie
*
Offline Offline

Activity: 6


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)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


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, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
LZ
Staff
Legendary
*
Offline Offline

Activity: 1470


Satoshi everywhere!


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

Unix time

"Never invest unless you can afford to lose your entire investment." © S3052
genjix
Legendary
*
expert
Offline Offline

Activity: 1232


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


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: 1470


Satoshi everywhere!


View Profile WWW
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.)



"Never invest unless you can afford to lose your entire investment." © S3052
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!