Skip to main content

toDate

function toDate(): Date

Returns a copy of the contained date for manual use.

const now = new Chronosis()
// Returns the exact internal date.
const date = now.toDate()