Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can we add regular expression for date field
(dd/mon/yyyy)?

Answer Posted / samiran sil

"sDate" is the normal date-

sDay=Datepart("d",sDate)
sMonth = Datepart("m",sDate)
sYear = Datepart("yyyy",sDate)
If Len(sDay) = 1 Then
sDay = "0" & sDay
End If
If Len(sMonth) = 1 Then
sMonth = "0" & sMonth
End If
sDate = sMonth & "/" & sDay & "/" & sYear

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to run a test using quicktest professional (qtp)?

1164


What is difference between shared and local object repository?

1150


What is the purpose of loading qtp add-ins?

1192


How many ways we can parameterize data in quicktest professional?

1047


how to idetfy which test cases are automated?who will deside that plz tell me

2025


Write a script to verify font style and color of a windows object using descriptive programming

1413


How qtp identifies objects?

1008


explain abt dyanamic changing object with example?

2344


how to prepared for first for the first interview?

2308


what is the hierarchy to use properties in descriptive programming

1998


Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?

1945


What are test settings and global settings?

1108


What is smart identification in QTP?

1078


Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John

2599


Explain actions in qtp ?

988