Hi Team,
We have got a customized quarter list from client which we need to take reference to get data in SQL. Could you please help.
30-Oct 29-Jan AS Quarter1
30-Jan 30-Apr AS Quarter2
01-May 30-Jul AS Quarter3
31-Jul 29-Oct AS Quarter4
If today falls beween any of the quarter we need start date in date format
for example if today is Jan/02/2018 then it shall return start date as '30-10-2017 00:00:00' and end date as '29-01-2018 00:00:00'
if today is Dec/30/2017 then it shall return start date as '30-10-2017 00:00:00' and end date as '29-01-2018 00:00:00'
↧