Error inserting date

<% moment(tp.file.title,‘YYYY-MM-DD’).format(“dddd, MMMM DD, YYYY”) %>

returns:

Friday, December 01, 2023

But we’re in August.

As a diagnostic, does the following at least give the right date?

<% tp.date.now("dddd, MMMM DD, YYYY") %>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.