Fluent Commerce Logo
Docs
Sign In

Displaying the date time in OMS and STORE web apps

How-to Guide

Author:

Fluent Commerce staff

Changed on:

7 Mar 2024

Key Points

  • Fluent OMS apps support time-zone-specific display of date and time values in the UI.
  • It is a good practice to store the date-time value in UTC format and let the OMS UI display the value based on the user's locale.
No alt text provided

Steps

Step arrow right iconCreate an order with a date attribute

Create an order with an Attribute ETA:  

`2023-03-29T12:37:44.000Z`
where the time format is always in UTC.

No alt provided

Step arrow right iconCheck dates

In the OMS, the User can display the date in either local time format or in UTC format.  The local time format is based on your computer’s time zone. In this example, the computer is set to GMT+11 (Sydney Eastern Daylight Time). Therefore the time shown in row 3 (ETA in Local Time) the time is +11 hours of ETA time.

No alt provided

Step arrow right iconChanging the local timezone

Then, if I change the computer timezone from Sydney to Bangkok (GMT+7), row 3 (ETA in Local Time) now changes to 19:37 (+7 hours UTC)

No alt provided
Fluent Commerce staff

Fluent Commerce staff

Copyright © 2024 Fluent Retail Pty Ltd (trading as Fluent Commerce). All rights reserved. No materials on this docs.fluentcommerce.com site may be used in any way and/or for any purpose without prior written authorisation from Fluent Commerce. Current customers and partners shall use these materials strictly in accordance with the terms and conditions of their written agreements with Fluent Commerce or its affiliates.

Fluent Logo