Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Date calculation excluding weekends

$
0
0

Hi Friends,

 

Can please let me know, how to exclude the weekends from date value. Please find the my logic below.

 

If Header.Flag = 'Y' and Header.CheckInDate is blank,then 12/31/2020

 

If Header.Flag = 'Y' and Header.CheckInDate is not blank, then Header.CheckInDate - 3 working days (exclude weekends)

 

If Header.Flag <>'Y'then Current Date + 21 business days

 

Thanks & Regards,

Balamurugan G


Viewing all articles
Browse latest Browse all 4013

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>