반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- GIT
- list
- Presto
- math
- PANDAS
- Apache
- django
- PostgreSQL
- Github
- matplotlib
- numpy
- Tkinter
- Kotlin
- Redshift
- dataframe
- hive
- c#
- 파이썬
- array
- PySpark
- google apps script
- Google Excel
- string
- SQL
- Excel
- gas
- Python
- Google Spreadsheet
- Java
Archives
- Today
- Total
목록day_of_week (1)
달나라 노트
Presto : dow, day_of_week (요일 추출, weekday)
dow, day_of_week는 주어진 datetime이 무슨 요일인지를 요일 번호로 추출해줍니다. Syntaxdow(datetime)day_of_week(datetime) 주어진 datetime의 요일을 번호로 추출해줍니다.dow와 day_of_week함수는 동일합니다. 아래 표는 각 요일에 해당하는 숫자입니다.day of weekday of week numberMon1Tue2Wed3Thu4Fri5Sat6Sun7 select current_timestamp as current_dttm --> 2025-10-18 02:40:06.391 , dow(current_timestamp) as current_dow --> 6 , day_of_week(current_timestamp..
SQL/Presto
2025. 10. 18. 11:57