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

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