转化 section-overview

Adobe Journey Optimizer中的转化板块使您能够将数据转化为适合工作流需求的格式,从而更轻松地构建动态的个性化历程。无论是将字符串转换为布尔值、日期转换为整数,还是将持续时间转换为可读格式,该类别中的每个函数都具有独特用途,同时共享简化数据操作的共同目标。您将探索“toBool”、“toDateOnly”和“toInteger”等函数的工作原理,并通过清晰示例获得指导。通过掌握这些工具,您可以无缝调整数据以适应历程规则,并精准交付定制化体验。

Adobe Journey Optimizer 中的转化功能

icon

toBool 函数

使用 toBool 函数将各种数据类型转换为布尔值。

了解如何使用 toBool 函数

icon

toDateOnly 函数

使用 toDateOnly 函数将日期表示转化为 dateOnly 类型。

了解如何使用 toDateOnly 函数

icon

toDateTime 函数

使用 toDateTime 函数将各类输入转换为日期时间值。

了解如何使用 toDateTime 函数

icon

toDateTimeOnly 函数

使用 toDateTimeOnly 函数将值转化为不带时区的日期时间格式。

了解如何使用 toDateTimeOnly 函数

icon

toDecimal 函数

使用 toDecimal 函数将各种数据类型转换为十进制值。

了解如何使用 toDecimal 函数

icon

toDuration 函数

使用 toDuration 函数,通过字符串或毫秒数将参数转化为持续时间值。

了解如何使用 toDuration 函数

其他资源

  • toInteger 函数 - 使用 toInteger 函数将各种数据类型转化为整数值。
  • toString 函数 - 使用 toString 函数将各种数据类型转化为字符串表示形式。
recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76