Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

date format

45134904
7 - Meteor

 

in this below screen shot date variable I want a logic that if the variable records are in DDMMYYYY format then its true other wise false

4 REPLIES 4
binuacs
21 - Polaris

@45134904

 

 IIF(isNull(DateTimeParse([Date],'%d%m%Y'),'False','True')

 

binuacs_0-1651212555490.png

 

45134904
7 - Meteor

45134904_0-1651731985335.png

 I need also  A1_start date should grater than 01/07/2022.

 

DataNath
17 - Castor
17 - Castor

Try a filter with the following:

 

DateTimeParse([A1_START_DATE],”%d%m%Y”) > 2022-07-01

 

(If you mean 7th January then would be 2022-01-07 rather than the above).

flying008
15 - Aurora

HI,@45134904 

 

as your said, the formula : 

 

iif(DateTimeDiff(DateTimeParse(tostring([A1_START_DATE]),"%d%m%Y"),"2022-07-01","days")>0,"True","False")

 

录制_2022_05_05_15_35_24_848.gif

Labels
Top Solution Authors