Is it possible to just show the hours and minutes only? e.g. 09:00 ? Tried using the format #00\:00# it is not allowed
Boney Sze wrote:
Hi Boney,
You can use this extension https://www.outsystems.com/forge/component_details.aspx?ProjectId=67 to format date time in any format you want. And here is a reference on how to use it: https://www.outsystems.com/forums/discussion/3705/new-feature-in-extension-text-to-format-date-time-expressions/
This question was about setting a default value, not about displaying. If you want to display a time without the seconds, simply do a SubStr(TimeToText(timeVar), 0, 5).
In OutSystems 10 there is already a format builtin that allows you to do that.
Regards,João Rosado