<p>This is a Unix date format. As I understand, you are using c#, so it will be look like:</p>

<pre><code>public static DateTime FromUnixTime(uint time)
{
    return new DateTime(1970, 1, 1).AddSeconds(time);
}
</code></pre>

CC BY-SA 3.0
2014-01-30T15:48:17.273Z
2014-01-30T15:48:17.273Z
Zergatul
<p>I am trying to get information about my transactions from my wallet,</p>

<p>I use Listtransactions, and get all the information, but the time/blocktime/receivetime - there are all in number i can't decipher "1390424516" i thought they were ticks, but new DateTime(1390424516) gets me 01/01/0001 00:02:19 ...
I tried using them as seconds, i got to year 0045...</p>

<p>the documentations says 
"time" : time associated with the transaction[1].
From block timestamp, unless transaction was already in memory pool then the local time when the client added the transaction to its memory pool</p>

<p>so i tried both methods on Blocktime too, but can't figure out how to get the time...</p>

<transactions><bitcoin-core><json-rpc>
Bitcoin QT Rpc Transaction date format
Royi Mindel
# Bitcoin QT Rpc Transaction date format

(Asked by: username_0 on 2014-01-30)

I am trying to get information about my transactions from my wallet,

I use Listtransactions, and get all the information, but the time/blocktime/receivetime - there are all in number i can't decipher "1390424516" i thought they were ticks, but new DateTime(1390424516) gets me 01/01/0001 00:02:19 ...
I tried using them as seconds, i got to year 0045...

the documentations says
"time" : time associated with the transaction[1].
From block timestamp, unless transaction was already in memory pool then the local time when the client added the transaction to its memory pool

so i tried both methods on Blocktime too, but can't figure out how to get the time...

**Tags:** transactions, bitcoin-core, json-rpc


---

## 1 answers

### Answer by username_1 on 2014-01-30. Score: 3 | Accepted answer

This is a Unix date format. As I understand, you are using c#, so it will be look like:
public static DateTime FromUnixTime(uint time)
{
    return new DateTime(1970, 1, 1).AddSeconds(time);
}


---

