diff --git a/src/utils/DateUtils.ts b/src/utils/DateUtils.ts index ad138da..6e88cdb 100644 --- a/src/utils/DateUtils.ts +++ b/src/utils/DateUtils.ts @@ -16,6 +16,6 @@ export function time() : number { export function mysql_date() : string { const date = new Date(); - return date.getFullYear() + "-" + (date.getMonth()+1) + "-" + (date.getDate() + 1) + return date.getFullYear() + "-" + (date.getMonth()+1) + "-" + (date.getDate()) + " " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds(); } \ No newline at end of file