반응형
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 |
Tags
- dataframe
- hive
- gas
- Kotlin
- Github
- Google Spreadsheet
- Redshift
- GIT
- math
- Mac
- PostgreSQL
- google apps script
- PySpark
- list
- numpy
- Excel
- PANDAS
- Python
- array
- matplotlib
- django
- Apache
- Tkinter
- c#
- SQL
- Java
- 파이썬
- string
- Google Excel
Archives
- Today
- Total
목록getFullYear (1)
달나라 노트
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bmriOJ/btrRGkTBTI3/pr8hXg4bBGtgeg58ZomSs1/img.png)
GAS에서는 날짜/시간 객체에 담긴 요소들을 얻어올 수 있는 함수입니다. 예를들어 2022-11-20 20:13:56 라는 날짜 객체가 있으면 여기서 년도인 2022년을 얻어온다거나, 시간인 20을 얻어온다거나 하는 식이죠. Syntax DateTime.getFullYear() DateTime.getMonth() DateTime.getDate() DateTime.getHours() DateTime.getMinutes() DateTime.getSeconds() 사용법은 간단합니다. 날짜 객체에 위 method들을 적용시켜주면 됩니다. Method Decription Example getFullYear() 년도 값을 return 2022 getMonth() 월 값을 return 0, 1, 2, ..., 10..
Google Apps Script
2022. 11. 21. 03:04