How to make a date picker post a simple date format.

When ever I use a date picker and set the database field to date and time it displays this long day, date,time,timezone thing that I do not want all I want is a simple date such as 5/3/2019. don’t even need the time just the date. Any help here would be great.

If you connect a date/time field from your collection to a textbox, it now gives you the possibility (at the bottom of the window where you pick the dataset field) to specify how date is displayed.

Thanks for your reply but that won’t help me. I think I better make a video on this one because most are not going to understand what I need without seeing it. But again thank you for your response.

@billyraestewart This is probably what you’re looking for:

As Giri Zano and David have both said, you can either change the displayed date by either use of Wix own options.

Or by using the toDateString code like in this brief video:

What you can’t do however, is to alter how it is saved into your dataset field itself as that will always be both date and time as it is a date and time field.

It is only time that has a separate field for it, currently there is no default field for just date only.

Thanks everyone for the help.