API Reference

Returns a Duration with the amount of time until a specified Date.

function timeUntil(date: Date): Duration