mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-06 17:27:57 +00:00
Update description of expiry date
This commit is contained in:
@@ -181,7 +181,7 @@ async function createSellOffer() {
|
||||
document.getElementById('standbyResultField').value = results
|
||||
```
|
||||
|
||||
Compute the Expiration Date, if present. The expiration date represents the number of seconds after the Ripple Epoch that the offer should expire. Subtract the Ripple Epoch from the current system date divided by 1,000, and add the number of days (or fractions of a day) multiplied by 86400 to get the correct expiration date.
|
||||
Compute the Expiration Date, if present. The expiration date represents the number of seconds after the Ripple Epoch that the offer should expire. Start with the current date, add the number of days till expiration, then set the expirationDate variable to the converted date in Ripple time (the number of seconds since the Ripple Epoch).
|
||||
|
||||
```
|
||||
//------------------------------------- Prepare Expiration Date
|
||||
|
||||
Reference in New Issue
Block a user