Mask Date format

Hi,

I would like to change the date format on the surface of my forms but I want SharePoint to store the date and time. Is this possible with JavaScript?

I want to store this in the SharePoint list
image

I want users to only see this format:

Mon 16th April 2022.

I know I can add another field and hide it onLoad so I can capture the format I want but I don't really want to clutter the designer with more fields, texts etc...

Hello @DryChips,

You can chage the display format of the Date & Time field using the code:

fd.field('Field1').widgetOptions = {
    format: 'yyyy/MM/dd',
}

Please see Date & Time field documentation for more information.