Expand my Community achievements bar.

Join us LIVE in San Francisco on November 14th for Experience Makers The Skill Exchange. Don't miss out on this free learning event!
SOLVED

Hard coded date format in 'Search' module

Avatar

Level 7

Writing to ask about the hard coded date format used in the 'Search' module. For example, I'm trying to filter search results for projects that were entered after January 1st, 2023.

_Manish_Singh_0-1681414329930.png

I've tried using the formatDate function to test this, but it doesn't seem to be working.

Also, in the date functions we have an option for 'now', but I'm looking for 'today'. Is there a built-in function or method that I can use for this?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 7

parseDate worked for me

_Manish_Singh_0-1681416072366.png

View solution in original post

2 Replies

Avatar

Level 7

I was trying formatDate for testing purpose. Something like this..

_Manish_Singh_0-1681415278686.png

 

Avatar

Correct answer by
Level 7

parseDate worked for me

_Manish_Singh_0-1681416072366.png