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

Questions about programming?Chat with your personal AI assistant