Skip to main content
Nintex Community Menu Bar

I am trying to match dates.  One date is ‘Created’ to which I add 30 days.  Second date is what I want to compare, Today’s date.  If they match then I send a notification email to customer.  I can’t locate / see how I can get ‘todays’ date out on Nintex workflow.  I want to use a ‘If then run’ to see if both dates match but don’t know how to get today’s date.  I imagine it would be something to do with ‘date’ function, something akin to / like ‘date now’ but can’t locate that. Any help appreciated.

Hi @LandsEnd,

There are a number of ways you could achieve this, but I think the simplest (given what you have described) is to try and do a comparison to one of the context variables for the current date, as seen below:

 

 

Hope this helps?

Kind Regards,

Mark.


Hi, I’m not following how the variables either one gets populated with the ‘current date’  of today, that is the question. I can make a datetime var just how is that var associated with a datetime of today ? 


Hi MarkduToit,  I get what you are saying now.  I was looking to get a ‘workflow’ datetime variable I created to have a value of ‘today/now’ date.  

     

What you are saying and I see now is that in ‘variables’ just looking into context type of vars and its there already to pick off and use in the workflow.

      

 

What you suggest is an easy pick off.  Testing now to get that into a yyyy-mm-dd format but I have something to work with.  I’ll let you know how it turns out and THANKS !  More to come.  


Hi MarkduToit,  That worked.  I have more to do with testing a comparison between the create date 30 days back compared to today’s date, if they match, I then send notification.

Bottom line is I have gotten a today date I have surfaced in a test email based on your suggestion.  Thank You So Much! 


Reply