Generation

generate functionWed, 22 Mar 2023

formatea la fecha actual a dia mes y año separado por *

function fecha(date) { const day = date.getDate() const month = date.getMonth() const year = date.getFullYear() return `${day}*${month}*${year}` } const now = new Date() fecha(now)

Javascript
Generate More

Want to kickstart your project?Use the new AI Studio to create your code