Anthony stark Posted August 19, 2019 Share Posted August 19, 2019 Hi Guys, I am trying to modify the expression below to be 14-APR-20 instead of DateTimeNow, how do i rewrite this expression to do this so intead of DateTimeNow, i want the specific date of 14-APR-20 Thanks in advance CASE WHEN ([PREPAREDATE]>DateAdd("dd",999,DateTimeNow())) or ([PREPAREDATE] Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted August 19, 2019 Share Posted August 19, 2019 You should be able to use: Date(2020,4,14) to get this specific date. Link to comment Share on other sites More sharing options...
Anthony stark Posted August 19, 2019 Author Share Posted August 19, 2019 Hi Kristen How do i fit that into the expression after removing the DateTimeNow Its giving me an error Link to comment Share on other sites More sharing options...
Kirsten Smith (she/her) Posted August 19, 2019 Share Posted August 19, 2019 This is what I used to confirm formatting, you'll need to add your column name back in: CASE WHEN ([Date]>DateAdd("dd",999,Date(2020,4,14))) or ([Date] Link to comment Share on other sites More sharing options...
Anthony stark Posted August 19, 2019 Author Share Posted August 19, 2019 Thanks Kirsten, this worked Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now