Thursday 8 December 2011

How to Add day to a particular date and how to set Date format of a particular Date


TxtDate.Text = Now.Date.ToString("dd/MM/yyyy")
LblD1.Text = " " & Now.Date.AddDays(1).Day
LblD1.ToolTip = Now.Date.AddDays(1).Date.ToString("dd/MM/yyyy")
       

No comments:

Post a Comment