Tipo Hora Genexus

Asked

Viewed 253 times

0

I have a variable in my application like Varchar where I only get hours in it. However, I wanted to format the mask ":" on it, after the time and before the minute, when putting in the Picture property the value: 99:99, when opening the screen appears the ":", however when typing any value in the field the formatting is not.

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

1 answer

0


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

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.