Alteryx Designer Desktop Discussions

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

How to filter complex structure date

wklcarolll
6 - Meteoroid

How to filter the date by T+1 AM and T+2 PM given the date format below? Thanks!

 

Apr 22 2022 02:20 PM HKT

 

Type: V_String

Size:255

8 REPLIES 8
TheOC
15 - Aurora
15 - Aurora

hey @wklcarolll 

Sorry for the confusion, but can i just check what you mean by ' T+1 AM and T+2 PM'? 

Cheers,
TheOC


Bulien
wklcarolll
6 - Meteoroid

Apologies for the confusion.

 

Let say today is 16 Mar.

If T+1 AM and T+2 PM, means 17 Mar AM & 18 Mar PM. Thanks!

 

 

Below is the example of the date format:

Apr 22 2022 02:20 PM HKT

TheOC
15 - Aurora
15 - Aurora

hey @wklcarolll 

Sorry - still slightly confused on that one.

Please can you provide an example input, and expected output of the workflow you are trying to achieve? Attaching the workflow you have made so far would be useful.

Cheers,
TheOC


Bulien
mceleavey
17 - Castor
17 - Castor

Hi @wklcarolll ,

 

I'm also struggling with this.

What do you mean by filter?

Do you mean you simply want to create a field that is that date plus one or two days with AM or PM?

 

M.



Bulien

mceleavey
17 - Castor
17 - Castor

Ok, so @wklcarolll I've created the two fields by cutting out the date elements, converting to datetime fields and adding a day to each, incorporating AM and PM. I don't understand what else you want, but this will get you started.

 

mceleavey_0-1647448172979.png

 

mceleavey_1-1647448215095.png

 

Hope this helps,

 

M.

 



Bulien

wklcarolll
6 - Meteoroid

 

Column A is the raw date that I would like to apply the filter.

Let's say today is 22 Feb, I want those with 23 Fab AM and 24 Feb PM (Ticked on the right). Thanks!

 

1.PNG

Qiu
21 - Polaris
21 - Polaris

@wklcarolll 
Maybe we can use a rather complex filter as below

0317-wklcarolll-1.PNG0317-wklcarolll-2.PNG

wklcarolll
6 - Meteoroid

Than you so much, it works! 

Labels