Genexus Time Type

0

I have a variable in my application of type Varchar where I only get hours in it. However, I wanted to format the mask ":" in it, after the hour and before the minute, when putting in the Picture property the value: 99:99, when opening the screen appears the ":", but when typing any value in the format field do not stay.

Ex: if I type 0842, it was to format by itself 08:42 but it is not formatting. Can anyone tell me what it can be?

    
asked by anonymous 20.06.2017 / 15:17

1 answer

0

The pictures in GeneXus have a particular behavior. Specifically for attributes and variables of type Character (Varchar, etc) only those predefined are considered.

You can set a variable of type TIME, in which case yes will take into account picture 99:99.

    
21.06.2017 / 16:37