Yngvarr

Generation

generate functionSat, 18 Feb 2023

new Date() utc0

function get_utc_datetime() { return new Date().toISOString().substr(0,19).replace('T',' ' ); } console.log(get_utc_datetime());

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant