JavaScript snippets, nuggets, and helpers javascript Get ISO date from today’s date export function formatDate(date) { return new Date(date).toLocaleDateString("en-CA"); }