TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Beavon Oigazy
NA
9
4.9k
Current day + Expiry Day in asp.net insert to Datatable
Jan 27 2016 5:14 PM
Hello C# Corner ,
I created a method to count days before expires
private string checkDate(int days)
{
string response = null;
if (days == 30)
{
response = "30 Days-SE";
}
else if (days == 90)
{
response = "90 Days-SE";
}
else if (days == 365)
{
response = "365 days-SE";
}
else if (days ==31)
{
response = "30 Days-PE";
}
else if (days==91)
{
response = "90 Days-PE";
}
else if (days==366)
{
response = "365 Days-PE";
}
return response;
}
Question one = I want to get
future expiry dates
after you add (
Date time.now
+
expiry date
)
Please, Can someone help me how to do this. Thanks
Reply
Answers (
1
)
Anyone have todo with simplified code in angular js?
Retrieve data from Sql server data table column to xml file