Finding this took me longer than it should have, probably because I was impatiently looking for "timeststamp" instead of "milliseconds of the Unix epoch". For future searchers, Luxon uses the methods DateTime.fromMillis
and DateTime.valueOf
.
// Create a Luxon DateTime from a JS Unix timestamp
const ts = new Date().getTime(); // 1516717417146
const dt = DateTime.fromMillis(ts); // { ts: 2018-01-23T09:23:37.146-05:00 ...
console.log(dt.valueOf()); // 1516717417146