<p>Ripple times are seconds since 1/1/2000 00:00 UTC. You can add 946,684,800 to a Ripple time to convert it to a UNIX time. If you are writing code to convert from Ripple times to UNIX times, please do your math in a 64-bit variable, not a 32-bit one.</p>

CC BY-SA 3.0
2014-03-05T04:57:56.043Z
2014-03-05T04:57:56.043Z
David Schwartz
<p>I am wondering what is the format used in Ripple ledger time? For example, one of the most recent ledgers had <code>close_time</code> of <code>447299110</code>. I initially thought it was UNIX time, but the current time was <code>1393983976</code> - an order of magnitude of difference.</p>

<p>What is the Ripple ledger time format and how to convert from a UNIX time to that format?</p>

CC BY-SA 3.0
2014-03-05T20:10:27.240Z
https://ripple.com/wiki/JSON_format#time
dchapes
<ripple><timestamp>
Ripple ledger time format?
ThePiachu
# Ripple ledger time format?

(Asked by: username_0 on 2014-03-05)

I am wondering what is the format used in Ripple ledger time? For example, one of the most recent ledgers had `close_time` of `447299110`. I initially thought it was UNIX time, but the current time was `1393983976` - an order of magnitude of difference.

What is the Ripple ledger time format and how to convert from a UNIX time to that format?

**Tags:** ripple, timestamp

> **Comments:**
> **username_1**: https://ripple.com/wiki/JSON_format#time  

---

## 1 answers

### Answer by username_2 on 2014-03-05. Score: 8 | Accepted answer

Ripple times are seconds since 1/1/2000 00:00 UTC. You can add 946,684,800 to a Ripple time to convert it to a UNIX time. If you are writing code to convert from Ripple times to UNIX times, please do your math in a 64-bit variable, not a 32-bit one.


---

