---
type: snippet
tags: [javascript, date]
status: release
ctime: 2025-12-28
mtime: 2025-12-28
---

Date.getDay() - 요일 반환 (0=일요일, 6=토요일)

```javascript
new Date().getDay() // 0~6
new Date('2024-12-25').getDay() // 3 (수요일)
new Date(2024, 11, 25).getDay() // 월은 0부터 시작

const days = ['일', '월', '화', '수', '목', '금', '토']
days[new Date().getDay()] // 오늘 요일
```
