Skip to main content
Level 3
October 23, 2020
Question

How to add current date in JavaScript condition Expression

Hi all,

I need to select data based on Last modified is today(current date) using Java script activity. So I used below script but Unable achieve the solution. Could you please help me here?

 

 

Thanks in advance

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

6 replies

Manoj_Kumar
Community Advisor
Community Advisor
October 23, 2020

Hello @ramprakasht3196 

 

Use GetDate() instead of new Date();

 

Thanks,

Manoj

Translate
Manoj  | https://themartech.pro
Level 3
October 23, 2020
pls use getCurrentDate () to get current date
Translate
Sukrity_Wadhwa
Level 4
November 4, 2020

Hi @ramprakasht3196,

Were you able to resolve this query with any of the given solutions? Do let us know.

Thanks!

Translate
Sukrity Wadhwa