import { decoder } from "https://deno.land/x/fun@v.2.0.0-alpha.11/mod.ts";
const { date } = decoder;
A Decoder that attempts to decode a Date using new Date(value). If the process of calling new Date throws or the getTime method on the new date object returns NaN, then a failure is returned. If a Date can be derived from the object then a Date object is returned.