Hard coded date format in 'Search' module | Community
Skip to main content
_Manish_Singh
New Participant
April 13, 2023
Solved

Hard coded date format in 'Search' module

  • April 13, 2023
  • 1 reply
  • 577 views

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.

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by _Manish_Singh

parseDate worked for me

1 reply

_Manish_Singh
New Participant
April 13, 2023

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

 

_Manish_Singh
_Manish_SinghAuthorAccepted solution
New Participant
April 13, 2023

parseDate worked for me