Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Lorem ipsum

Code Block
languagejs
    import { DateObject } from "react-multi-date-picker";
    const julianDay = new DateObject().toJulianDay();
    const days = new DateObject().add(56, "years").add(8, "months").add(17, "days").toDays();
    console.log(new DateObject().add(56, "years").add(8, "months").add(17, "days").toDate());
    const epoch = julianDay - days