Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Team,
I have run the script for getting weekend but i am not getting saturday
WeekEnd(DATE) AS WEEKEND
Hi Karim,
Try this: If(WeekDay(DATE) = 'Sat' or WeekDay(DATE) = 'Sun',DATE)
Regards!
Hi Karim,
Try this: If(WeekDay(DATE) = 'Sat' or WeekDay(DATE) = 'Sun',DATE)
Regards!
Do you mean you want to load only Saturday date?
Try like:
Weekday(WeekEnd(DATE)) AS WEEKEND
If your week starts on Monday, it will return Sunday as output. If you need the week to start on Sunday and get Saturday as weekend output try:
Weekday(Weekend(today(),0,-1))
tnx
I wanted both sat and sun
I wanted both sat and sun
You're wellcome!
@Karim_Khan your solution extract only Saturdays .. i want to get also Sundays so what should i do
Hi Anil,
I want to find the time difference only for saterday and sunday between two dates from 10 AM to 4 PM .
how can I do that .
for example if my startdate - 31-01-2020 and enddate = 5-2-2020
I just want to pick Saterday and sunday between these two date and the time in between 10 AM to 4 PM .