How can i minus two Dates asp.net

Nikias

New Member
How can i minus two Dates (LblExpirydate.Text - Label3.Text )\[code\] LblExpirydate.Text = String.Format("{0:dd/MM/yyyy}", dataReader(0)) Label3.Text = System.DateTime.Now.ToString(("dd/MM/yyyy"))\[/code\]LblExpirydate.Text = 01/05/2013Label3.Text = 01/04/2011
 
Back
Top