Yngvarr

Generation

generate functionThu, 22 Dec 2022

date to text

function date_to_text(date) { return date.toLocaleDateString( "en-US", { year: "numeric", month: "short", day: "numeric" } ); }

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant