반응형
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
- SQL
- Google Spreadsheet
- django
- gas
- Apache
- c#
- GIT
- math
- Kotlin
- Google Excel
- hive
- Tkinter
- google apps script
- string
- Excel
- 파이썬
- PySpark
- Redshift
- PostgreSQL
- array
- dataframe
- numpy
- matplotlib
- PANDAS
- Mac
- Python
- Java
- list
- Github
Archives
- Today
- Total
목록date format (1)
달나라 노트
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/dFxkO8/btrRCZo24pA/krXRgq21JHxnCmzNxAJM00/img.png)
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