# assertDateAfter Source: https://smartassertions.dev/assertions/assertDateAfter/ Index of every page: https://smartassertions.dev/llms.txt Assert that a Date holds a later instant than the expected one, with type-narrowing. Comparing two instants through assertGreaterThan means reading epoch milliseconds out of the failure. This reports both Dates in ISO form. ## Usage ```ts import { assertDateAfter } from "@kensio/smartass"; const dueAt: unknown = new Date("2026-06-01T00:00:00.000Z"); assertDateAfter(dueAt, new Date("2026-01-01T00:00:00.000Z")); // dueAt is now narrowed to Date ``` ## Source Source file: [`src/assert/date-after/date-after.assert.ts`](https://github.com/KensioSoftware/smartass/blob/main/src/assert/date-after/date-after.assert.ts)