How to Add Date/Time Stamp in a Repeater

Hi there

I have added product reviews to my page, as per instructions found (Velo Tutorial: Adding Ratings and Reviews to a Wix Stores Site | Help Center | Wix.com).

The only issue is that the Time/Date is showing as the text field (“Time Published”) rather than the actual date/time published in the review.

Code I used was let date = itemData._createdDate; $w(‘#submissionTime’).text = date.toLocaleString(); }

Any ideas please would be helpful!

Thanks, Luke.

Luke, just a thought: Date is a reserved word. Try changing it to something like “myDate”.