반응형
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
- gas
- Apache
- array
- math
- Google Excel
- Presto
- dataframe
- Kotlin
- 파이썬
- PANDAS
- Google Spreadsheet
- PostgreSQL
- list
- SQL
- Java
- string
- matplotlib
- django
- Excel
- GIT
- PySpark
- Python
- Tkinter
- Github
- Redshift
- numpy
- hive
- c#
- google apps script
Archives
- Today
- Total
목록doy (1)
달나라 노트
Presto : doy, day_of_year (년중 일수 추출)
doy, day_of_year함수는 주어진 특정 날짜가 속한 년도에서 주어진 날짜가 몇번째 날짜인지를 나타내줍니다.단순히 해당 날짜의 일을 추출해주는 것과는 다릅니다. Syntaxdoy(datetime)day_of_year(datetime) 주어진 datetime의 년중 일수를 추출합니다.doy 함수와 dady_of_year 함수는 동일합니다. select current_timestamp as current_dttm --> 2025-10-18 03:03:37.996 , doy(current_timestamp) as current_doy --> 291 , day_of_year(current_timestamp) as current_day_of_year --> 291; 예..
SQL/Presto
2025. 10. 18. 12:05