Answers for "convert datetime javascript mysql"

1

convert datetime javascript mysql

function getTime() {
    const date = new Date();
    return date.getFullYear()
            + '-' +
            date.getMonth()
            + '-' +
            date.getDate()
            + ' ' +
            date.getHours()
            + ':' +
            date.getMinutes()
            + ':' +
            date.getSeconds();
}
Posted by: Guest on February-23-2021

Code answers related to "convert datetime javascript mysql"

Code answers related to "Javascript"

Browse Popular Code Answers by Language