Print Page | Close Window

Display Two different locations Current Date

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: QuickTest Pro @ OneStopTesting
Forum Discription: QuickTest Pro is a fresh approach to automated software and application testing that addresses testing needs of both business analysts and Quality Assurance professionals.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=5611
Printed Date: 18Jul2025 at 9:56pm


Topic: Display Two different locations Current Date
Posted By: ram7vasu
Subject: Display Two different locations Current Date
Date Posted: 25Apr2008 at 12:32am
Hi All,
 
I want to display current dates thru QTP, USA timmings (current sysDate) and India timmings together.
or
In simple I can say two diffrent locations date I want to display thru qtp in a same script
 
Thanks in advance
 


-------------
RAM SAKSOFT



Replies:
Posted By: kumarg
Date Posted: 17Jun2008 at 10:40pm
To Display date in USA format then use [B]Date Function[/B] and to display date in India Format use this code [B]arr=Split(Date,"/") <nxtline> inddate=arr(1)&"/"&arr(0)&"/"&arr(2)[/B]. To display both then write [B]Date&inddate [/B].

-------------
Keep up good work



Print Page | Close Window