toDateOnly
將參數值轉換為僅日期值。
類別
轉換
函式語法
toDateOnly(<parameters>)
參數
參數 |
類型 |
ISO-8601或「YYYY-MM-DD」格式的日期(XDM日期格式) |
字串 |
日期 |
日期 |
簽名和返回的類型
toDateOnly(<date>)
toDateOnly(<string>)
返回不考慮時區的日期時間。
範例
toDateOnly("2016-08-18")
返回表示2016-08-18的dateOnly對象。
Business.Adobe.com資源