반응형
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
- django
- PostgreSQL
- Redshift
- numpy
- Excel
- array
- Github
- Google Spreadsheet
- hive
- SQL
- gas
- list
- PySpark
- Kotlin
- google apps script
- string
- Tkinter
- dataframe
- GIT
- Mac
- c#
- 파이썬
- Python
- math
- Google Excel
- PANDAS
- matplotlib
- Java
- Apache
Archives
- Today
- Total
목록formatDate (1)
달나라 노트
Google Apps Script : Utilities.formatDate (날짜 format 변경, 날짜 서식 변경, date format, time format, 시간 format 변경, 시간 서식 변경)
GAS(Google Apps Script)에서 날짜나 시간 서식을 원하는대로 변경하려면 Utilities.formatDate() method를 사용하면 됩니다. Syntax Utilities.formatDate(date_object, time_zone, format) 사용법은 위와 같습니다. date_object = date type 또는 date time type의 날짜/시간 데이터를 넣어줍니다. time_zone = 날짜/시간을 다룰 때 기준이 되는 시간대를 의미합니다. (주로 GMT, UTC를 사용합니다.) format = 얻기를 원하는 날짜/시간 format입니다. function myFunction() { var today_dt = Utilities.formatDate(new Date(), 'U..
Google Apps Script
2022. 11. 21. 02:30