ngoctuanai's picture
Upload 142 files
c742717
raw
history blame contribute delete
No virus
197 Bytes
export function getCurrentDate() {
const date = new Date()
const day = date.getDate()
const month = date.getMonth() + 1
const year = date.getFullYear()
return `${year}-${month}-${day}`
}