07-20-2012, 12:07 PM
Code:
GetDay = DatePart("d", TheDate)
GetMonth = DatePart("m", TheDate)
GetYear = DatePart("yyyy", TheDate)
MyDate = month & "/" & day & "/" & year
try this...it will also help you.
How to get custom formatted date from qtp
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
How to get custom formatted date from qtp - by sailakshmi - 08-23-2008, 01:06 AM
RE: How to get custom formatted date from qtp - by QADBA - 08-25-2008, 06:11 PM
RE: How to get custom formatted date from qtp - by nilanjans - 07-19-2012, 08:01 PM
RE: How to get custom formatted date from qtp - by K Gaurav Varshney - 07-20-2012, 12:07 PM
RE: How to get custom formatted date from qtp - by ravi.gajul - 07-20-2012, 12:36 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
How to append date to xls file using qtp datatable methods? | yona34 | 1 | 1,634 |
05-04-2018, 08:56 PM Last Post: Ankur |
|
QTP not recognizing date calendar | kQTPs | 1 | 3,598 |
12-20-2017, 11:21 PM Last Post: harikrishna |
|
QTP11.0 - Date format is changed as text while executing the QTP script. | Automation Tester | 1 | 4,103 |
05-30-2014, 01:25 PM Last Post: Tarik Sheth |
|
How to set value to custom property ? | Ranu | 0 | 2,031 |
11-14-2013, 02:58 AM Last Post: Ranu |
|
Custom CheckPoint | rajrkodeep | 0 | 3,939 |
09-06-2012, 11:19 PM Last Post: rajrkodeep |