723
Views
7
Comments
Time format
Question

Hi,

Is it possible to make time format HH:MM  ?

Rank: #110

Hi Ayu,

You may use FormatDateTime(DateTime, Text)

Regards,

Swatantra

mvp_badge
MVP
Rank: #149

Hi Ayu Andini,

To view use the option Swatantra Kumar told, to insert a specific time format you can use the mask component: https://www.outsystems.com/forge/component-overview/647/custom-input-masks.

Regards,

Rank: #6049

Ayu Andini wrote:

Hi,

Is it possible to make time format HH:MM  ?

Hi Ayu Andini,   

  Yes it is possible .you can use this time formate to display hours and minutes 

   FormatDateTime(CurrTime(),"hh : mm")


Rank: #1850

So, this is the field format HH:MM

Where I can implement the format DateTime ?

Thanks

Rank: #833

Hi Ayu andini,

As said by Wasim Khan,You can do it at very ease.
Here you go the sample of it, Use "%I:%M" for 12 hours clock format and "%H:%M" for 24 hours format.

Cheers!

Sample.oml