Convert a JavaScript Date object to its equivalent transaction locktime
representation. The date is rounded to the nearest second (the precision of
locktime Dates).
Note, a locktime values greater than or equal to 500000000
See Transaction.locktime for details.
Convert a JavaScript
Dateobject to its equivalent transactionlocktimerepresentation. Thedateis rounded to the nearest second (the precision oflocktimeDates).Note, a locktime values greater than or equal to
500000000See Transaction.locktime for details.For the reverse, see locktimeToDate.