[Custom Input Masks] dd-mmm-yyyy mask is not working

Forge Component
(39)
Published on 22 Apr by Marcelo Ferreira
39 votes
Published on 22 Apr by Marcelo Ferreira

dd-mmm-yyyy masking format is not working.how to resolve this?

Hi,

Did you check on documentation, if the format mmm is implemented in this mask?

other situation, can be about the format time of your server:

The OutSystems platform has a default DataTime format which can be set in ServiceCenter. This is the format OutSystems expects when entering a date time in an input. When your mask is requiring a different format, you have to have a variable with type Text in order to get the correct value. In the action that uses the date time, you have to change the Text variable into a Date Time variable in order for OutSystem to understand the Date Time value. In the preparation of your screen you have to have an action that converts the Date Time into the Text including the correct formatting for the custom mask to understand.


Cheers,
Nuno Verdasca

Hi,

Most of the time you need to enter the Service Center and change the date format for your application there. 

Now, after you change that in your service center, make sure your mask is no longer active!, delete whatever you put in your mask in service studio.

Regards.

Hi,

As Nuno point out mmm is not implemented on this mask.

Regards,

Marcelo

Processing Upload...

Hi 

its not working.i am using one forge component. Flatpicker.i am attaching the OML file.please check.really need your help.

Hello Arkyadeep,

Can you try using FormatDateTime.

Thanks 

Neha Rathore