DMXzone Server Data Formatter Support Product Page


No way to format a Time field

Asked 24 Jun 2017 18:18:06
has this question
24 Jun 2017 18:18:06 Brad Lawryk posted:
I have a time field in my database that stores data as '09:00:00.000000' like time fields normally do. However there is no way to format the display. If I add .formatDate("hh:mm a" it does not display anything at all. I assume it's because it is looking for a date field. IS there no way to format a time field?


Replied 25 Jun 2017 06:40:45
25 Jun 2017 06:40:45 Teodor Kuduschiev replied:
Hi Brad,
The FormatDate filters expect a date. I will check with the developers if time format filters could be added in the future updates.
Replied 25 Jun 2017 10:58:42
25 Jun 2017 10:58:42 Brad Lawryk replied:
I hope so soon. Thanks.

Reply to this topic