-1

I use DateBox in Google App Script, and got the value of DateBox Sat Jul 20 2013 00:00:00 GMT+0800 (HKT).
How can I convert it to just be 2013-07-20?

4

1 回答 1

0

使用Utilities.formatDate( ) 函数。

于 2013-07-20T15:34:02.070 回答