How to display a Time(8) field

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
pbellardita
Posts: 6
Joined: Wed Mar 07, 2018 11:50 pm

How to display a Time(8) field

Post by pbellardita » Thu Jan 17, 2019 8:35 pm

Hi,
I'm using a Time(8) field with hours, minutes and seconds (Eg: 12:10:52).
How can I display only Hours and minutes on a web page (Eg: 12:10) without having to use a support text field?

Thanks

LANSASupport
Posts: 11
Joined: Fri Jun 23, 2017 11:08 am

Re: How to display a Time(8) field

Post by LANSASupport » Fri Jan 18, 2019 2:03 pm

This can be achieved by using CustomTimeFormat('hh:mm') on the DateTime visualization.
This feature isn't available in VL yet but is to be shipped in the upcoming EPC142040.
EPC142040 is due to be available next week. You can look out for it here: https://www.lansa.com/support/notes/epc/

Regards,
LANSA Support

pbellardita
Posts: 6
Joined: Wed Mar 07, 2018 11:50 pm

Re: How to display a Time(8) field

Post by pbellardita » Tue Jan 22, 2019 8:02 pm

Thanks

Post Reply