Login | Register | FAQ
Anonymous

How to check validation between two date from and to date ?

+ Post a reply

3 posts Page 1 of 1


How to check validation between two date from and to date ?

by confidence123 » Mon Oct 13, 2014 5:08 am

hiee,

Please help out this problem...
User avatar

confidence123

  • Posts: 7
  • Joined: Mon Oct 13, 2014 4:38 am

Re: How to check validation between two date from and to dat

by XainPro » Mon Oct 13, 2014 6:47 am

explain further are you working in asp ?
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: How to check validation between two date from and to dat

by confidence123 » Wed Oct 22, 2014 5:46 am

Use this code

string fromdate = txtFromDate.Text;
string[] ayy1 = fromdate.Split(' ');
string date2 = ayy1[0];
string todate1 = txtToDate.Text;
string[] ayy2 = todate1.Split(' ');
string todate2 = ayy2[0];
User avatar

confidence123

  • Posts: 7
  • Joined: Mon Oct 13, 2014 4:38 am


+ Post a reply

Page 1 of 1