# Gateway Message Handler translates a datetime.now() command into a java.sql.Timestamp, how can I change it back?

**URL:** <https://forum.inductiveautomation.com/t/gateway-message-handler-translates-a-datetime-now-command-into-a-java-sql-timestamp-how-can-i-change-it-back/80628>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [October 18, 2023, 1:31am UTC](https://forum.inductiveautomation.com/t/gateway-message-handler-translates-a-datetime-now-command-into-a-java-sql-timestamp-how-can-i-change-it-back/80628 "2023-10-18T01:31:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [October 18, 2023, 12:08pm UTC](https://forum.inductiveautomation.com/t/gateway-message-handler-translates-a-datetime-now-command-into-a-java-sql-timestamp-how-can-i-change-it-back/80628/3 "2023-10-18T12:08:19Z")

</div>

> [@Kevin.Herron](#):
>
> don't use janky Python types

This.

Also, see this topic (not just for Perspective):

> [@System.date.now Timezone](https://forum.inductiveautomation.com/t/system-date-now-timezone/72478):
>
> When running the function system.date.now() from a perspective session, what time zone should be returned? The user's computer time? Or the server's time?

---

_[View the full topic](https://forum.inductiveautomation.com/t/gateway-message-handler-translates-a-datetime-now-command-into-a-java-sql-timestamp-how-can-i-change-it-back/80628)._
