Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Datepart().........to check if date is vallid
#1
Not Solved Rolleyes 
Hi

1)I am entering the date in input pox and the passing the value to datepart function
mydate=inputbox("enter the date")/if i enter date as 29/29/29
datepart("d",mydate)/then it should display 29 as date and when i click ok it should display invalid date.but not workin

2)if i use the same for "date" its is workin
datepart("d'",date)//it displays properly.i mean the system date,as date is a key word

Clarification:Can u jus help me in telling wheater the way i am passing the value in 1 is wrong
Reply


Messages In This Thread
Datepart().........to check if date is vallid - by swapna_2008 - 02-29-2008, 12:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Help Datatable Parameterzing Date debindas 1 3,452 08-30-2012, 11:43 PM
Last Post: QTPScript
  How To Select Date From a Calender Image Where Date field is non editable? RameshKrishnan 1 3,856 05-28-2012, 09:29 PM
Last Post: defcon3
  Date Format change mv8167 9 49,245 03-05-2012, 08:54 PM
Last Post: SteveS
  Returned Date Format mv8167 3 5,758 07-06-2011, 09:25 AM
Last Post: rajpes
  Future Date from Calendar SS001 2 6,193 05-31-2010, 01:16 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)