Generation

generate functionTue, 25 Apr 2023

Make a function to show a calendar and if you click it returns the date on dateformat of dd/mm/yyyy

function date() { var date = new Date(); return date.getDate() + '/' + date.getMonth() + '/' + date.getFullYear(); }

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant