Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Find hours worked during night , and Sunday

dkma
8 - Asteroid

I have a dataset attached.  I'm trying to calculate the hours worked during daytime(from6:00-23:00), and night hours worked (from 23:00-06:00), and Sunday Night Hours ( from: 0000-06:00 and from 23:00-23:59:59 On Sunday)

 

 

I was able to create logic for Day Hours and Night Hours, and I'm looking for some logic help to calculate the hours on Sunday night hours. 

 

Can anyone please help in building logic for the same. 

 

Thanks in adv!

1 REPLY 1
mbarone
16 - Nebula
16 - Nebula

Hi @dkma , have you tried experimenting with all the DateTime functions?

Labels
Top Solution Authors