i will write the following code to get that like the date
tbStartDate.Text = DateTime.Today.AddDays(-30).ToShortDateString();
by using above statement we can get the value of today date minus one month
If you enjoyed this post, please support the blog below. It's FREE! Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email. |
|||
|
|||
2 comments :
Its exactly what I was searching
thank u for giving gud codings
Note: Only a member of this blog may post a comment.