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
Hema Latha
NA
29
26.6k
Get only date in datetime string.
Mar 3 2015 5:12 AM
Hi,
I have get only date from datetime string means, the code is shown below.
string date= Convert.ToDateTime(dt.Rows[i]["next_pay_date"]).AddDays(-7).ToString();
The date field get
"3/7/2015 12:00:00 AM"
But i have get only date means
"3/7/2015"
Please help me..
Thanks in advance
Reply
Answers (
2
)
How to fetch the value on the click of Context Menu Item.
On click event to asp:Literal button