Understanding Date and Time in Zenphi: Why You Might See Differences Between Stored and Displayed...

When working with date and time values in Zenphi—whether on a form or in a Zenphi Table—it’s important to understand how the platform stores and displays this information. Misunderstanding this can lead to confusion, especially when comparing stored values with what you see on screen.


1. How Zenphi Stores Date and Time

  • Storage format: All date and time values in Zenphi are stored in UTC (Coordinated Universal Time).

  • Why UTC? Storing in a single universal time standard ensures consistency when data is accessed from different time zones. This is a common practice in most cloud platforms and databases.

Example:
If you submit July 5th, 2025, 9:00 PM in Chicago (UTC-5 or UTC-6 depending on daylight saving), Zenphi will store it as July 6th, 2025, 02:00 AM UTC.


2. How Zenphi Displays Date and Time

When you open a Zenphi Table or view date/time in a flow run log, your browser automatically converts and displays these UTC values in your local time zone. 

  • Two people in different time zones will see different local times for the same stored value.

  • The raw stored value hasn’t changed—only the display adjusts.



Visual Example:

Stored in UTC Display in Chicago (UTC-5) Display in London (UTC+0)

2025-07-06 02:00 UTC 2025-07-05 9:00 PM 2025-07-06 3:00 AM

2025-12-15 15:00 UTC 2025-12-15 10:00 AM 2025-12-15 3:00 PM



3. Dates on Zenphi Forms

When you enter a date or date/time into a Zenphi form, you enter it according to your local time zone. Zenphi then stores that value in UTC :

  • The value is recorded in UTC before being stored.

  • If the user selects a date without a time, Zenphi will store it with time set to 00:00:00 UTC.

  • In negative offsets (e.g., UTC-5), this may display as the previous day.

Example:

  • Selected on form: July 5, 2025 (no time)

  • Stored as: 2025-07-05T00:00:00Z

  • Viewed in Chicago: Shows as July 4, 2025, 7:00 PM



4. If You Don’t Want Conversion to Happen

In some cases, you may want the value to remain exactly as entered without being converted based on time zones. One simple way is to store the date/time as text rather than as a date/time field in Zenphi:

  • Convert it to text before storing or displaying.

  • In Zenphi, you can do this by using the Format Date action and outputting it as a string, then saving that string instead of a Date/Time field.

Example use case:
You submit a date/time via a Zenphi form (or Google Form) and want to include it in an email exactly as entered, without any automatic conversion.
If you need to display this timestamp in another time zone, you must use the Convert Time Zone action (not Format Date/Time) to adjust it.

⚠️ Important: Zenphi does not capture the time zone offset at submission, so you will need to manually select the correct time zone in the Convert Time Zone action when configuring your flow.


5. Tips to Avoid Confusion

  • Always be aware of your local offset when reviewing date/time data.

  • If exact local time is important, store both UTC and the original entered time (as text) along with the user’s region.

  • When exporting to Google Sheets or CSV, remember: the values will still be in UTC unless explicitly converted.

  • Use Zenphi’s Convert Time Zone action if you want to present times for a specific region.



By understanding Zenphi’s UTC-based storage and the way it adjusts display to your local time zone, you can prevent time-related confusion and ensure your flows handle date/time consistently.