# Time discrepancy in view vs property

**URL:** <https://forum.inductiveautomation.com/t/time-discrepancy-in-view-vs-property/108143>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 4, 2025, 2:36pm UTC](https://forum.inductiveautomation.com/t/time-discrepancy-in-view-vs-property/108143 "2025-07-04T14:36:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 4, 2025, 5:42pm UTC](https://forum.inductiveautomation.com/t/time-discrepancy-in-view-vs-property/108143/2 "2025-07-04T17:42:44Z")

</div>

Dates in Ignition are **objects** containing UTC milliseconds, no matter the time zone. When you ask for an object to be assigned to a text property, Java will stringify it right there, which is in the gateway for expressions. Java default stringification of dates uses the JVM timezone, which is UTC in your case.

The designer is a separate JVM, and it will stringify locally for you. Perspective browsers will not, unless you trigger native timezone handling (not available in a label).

See this topic for options:

> [@Ignition Perspective Page to show the client System date and time](https://forum.inductiveautomation.com/t/ignition-perspective-page-to-show-the-client-system-date-and-time/73265/6):
>
> In the transform, I recommend converting the [Date to an Instant](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Date.html#toInstant()), then [to a ZonedDateTime](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/Instant.html#atZone(java.time.ZoneId)) object with the [ZoneId selected by](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/time/ZoneId.html#of(java.lang.String)) self.session.props.timeZoneId. String conversion of the ZonedDateTime will use the client's timezone. The transform would look like this: from java.time import ZoneId return value.toInstant().atZone(ZoneId.of(self.session.props.timeZoneId))

---

_[View the full topic](https://forum.inductiveautomation.com/t/time-discrepancy-in-view-vs-property/108143)._
