Returns a date in the past based on a duration from now
function ago(duration: Partial<Duration>): Date
// Example:
// Jan 1, 2024 12:00:00AM
ago({days: 1: hours: 2, minutes: 3, seconds: 4}) //=> Date: "2023-12-31T02:56:56.000Z"
Returns a date in the past based on a duration from now
function ago(duration: Partial<Duration>): Date
// Example:
// Jan 1, 2024 12:00:00AM
ago({days: 1: hours: 2, minutes: 3, seconds: 4}) //=> Date: "2023-12-31T02:56:56.000Z"