반응형
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 |
Tags
- Redshift
- Java
- 파이썬
- django
- Apache
- Mac
- numpy
- PANDAS
- google apps script
- matplotlib
- Excel
- SQL
- dataframe
- c#
- Tkinter
- hive
- math
- Google Spreadsheet
- Google Excel
- array
- Github
- gas
- string
- Kotlin
- Python
- GIT
- list
- PostgreSQL
- PySpark
Archives
- Today
- Total
목록getDay (1)
달나라 노트

getDay() method는 특정 날짜의 요일을 요일 번호로 return해줍니다. Syntax Date.getDay() 사용법은 위와 같습니다. Date 객체에 getDay() method를 적용하면 됩니다. function myFunction() { var today_dt = new Date(); var today_weekday = today_dt.getDay(); Logger.log(today_dt); Logger.log(today_weekday); } - var today_dt = new Date(); new Date()로 현재 날짜와 시간을 얻어옵니다. - var today_weekday = today_dt.getDay(); 오늘 날짜/시간을 담고있는 today_dt 변수에 getDay() me..
Google Apps Script
2022. 11. 21. 02:44