Hi, I have a table that is connected to a dataset that is displaying results from a dropdown menu query and that is fine. One of the table fields is a date. How can I determine how the date is displayed? I just want for example 9/1/2018 - no time, no specific day. Would appreciate any help. Thanks.
![](https://static.wixstatic.com/media/a27d24_556fb0a37061411a83016d25ac49cfc1~mv2.png/v1/fill/w_924,h_489,al_c,q_90,enc_auto/a27d24_556fb0a37061411a83016d25ac49cfc1~mv2.png)
Thanks. RESOLVED.
Did you get an answer? I have the same issue, but was given a code snippet which is for a text box, not a table.
Thanks Roi- that one was useful for date on a repeater - I have used that solution elsewhere. I found a post by Yisrael and he gave the code snippet for the solution on a table.
https://www.wix.com/code/home/forum/questions-answers/date-display-formating
let date = new Date( "hereiputthevalueofmydatefield");
let day = date.getDate();
let month = date.getMonth()+1;
let year = date.getFullYear(); let dateStr = year + "/" + month + "/" + day;
console.log(dateStr); // show result in the developers console
resolved- thanks all.
Hi,
This thread will be useful.
Feel free to consult if it doesn't work for you.
Good luck!
Roi