引数を dateOnly 型の値に変換します。データ型について詳しくは、こちらの節を参照してください。
変換
toDateOnly(<parameters>)
パラメーター | タイプ |
---|---|
「YYYY-MM-DD」(XDM 形式)としての日付の文字列表現。ISO-8601 形式もサポートしています。full-date の部分に限り考慮されます(RFC 3339、セクション 5.6 | 文字列 |
日時 | 日時 |
タイムゾーンを含まない日時 | 日時のみ |
エポックのミリ秒単位の整数値 | 整数 |
toDateOnly(<dateTime>)
toDateOnly(<dateTimeOnly>)
toDateOnly(<string>)
toDateOnly(<integer>, <integer>, <integer>)
dateOnly 型の値を返します。
toDateOnly("2016-08-18")
toDateOnly("2016-08-18T00:00:00.000Z")
toDateOnly("2016-08-18T00:00:00")
すべての場合、2016-08-18 を表す dateOnly オブジェクトが返されます。
toDateOnly(#{ExperiencePlatform.ProfileFieldGroup.person.birthDate})
dateOnly を返します。