Friday, February 25, 2011

How to convert date formate in QTP

Mydate=date
msgbox "Current Formate"&Mydate

myday =day(date)
'msgbox myday

mymonth = month(date)
'msgbox mymonth

myyear = Year(Date)
'msgbox myyear

msgbox "New Formate "&myday&"/"&mymonth&"/"&myyear

for Technical interviews:

http://no1tutorial.com/

learn step by step technologies:


http://no1tutorial.com/

No comments:

Post a Comment