![]() |
Date 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: Date Functions (/Thread-Date-Functions) |
Date Functions - Anna - 07-29-2008 I have any birth date. For example 04/07/1973 I would like to take the current date - any birth date and get the person's current age. Is there a function I can use? For example 07/29/2008 - 04/07/1973 = 35 Thanks, Anna RE: Date Functions - Raj - 07-29-2008 Check this , i hope it's usefull for u Code: strBirthDate="10/10/2000" RE: Date Functions - Anna - 07-29-2008 Hi, This seems to work well. Thank you! |