diff --git a/utils/formatTimeUtils.ts b/utils/formatTimeUtils.ts index 9d9a4c9..7b204a3 100644 --- a/utils/formatTimeUtils.ts +++ b/utils/formatTimeUtils.ts @@ -10,6 +10,7 @@ export const formatTime = (time: number) => { export const getCurrentDate = () => { const today = new Date(); + console.log('오늘: ', today); const year = today.getFullYear(); const month = String(today.getMonth() + 1).padStart(2, '0'); // 월은 0부터 시작하므로 +1 필요 const day = String(today.getDate() - (today.getHours() < 5 ? 1 : 0)).padStart(2, '0');