Micro Focus QTP (UFT) Forums
Is there any Advanced Calender Functions - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Is there any Advanced Calender Functions (/Thread-Is-there-any-Advanced-Calender-Functions)



Is there any Advanced Calender Functions - SaranKumarV - 12-08-2011

HI All,

Requriement :
I want to fetch dates if we pass some Abbrevations as follows :
>Week45 = 07-Nov-2011 to 13-Nov-2011
>WeekEnd44 = 05-Nov-2011 to 06-Nov-2011

This I want fetch irrespective of which Year we are.

Please help me on the same.

Thanks in Advance

Regards,
SaranKumarV


RE: Is there any Advanced Calender Functions - PrabhatN - 12-09-2011

Hi Saran,

How do you identify a week# and a weekend#? I mean if a year starts with friday, will that be the week1 (and having only that friday as a week)? Same if it starts with sunday, will it be weekend1?