The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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