Target filter
Search Kotlin docs
  • Platforms
  • Tealium Prism Kotlin
core/com.tealium.prism.core.api.misc/DateFormatter/iso8601LocalWithOffset

iso8601LocalWithOffset

@RequiresApi(value = 26)
abstract fun iso8601LocalWithOffset(instant: Instant, timeZone: ZoneId): String
abstract fun iso8601LocalWithOffset(date: Date, timeZone: TimeZone): String

Returns an ISO-8601 date format using device default as the time zone, including the timezone offset.

e.g. '2011-12-03T10:15:30+01:00'

Generated by Dokka
(c) Tealium 2026