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
Kamala Veni
NA
65
21.3k
How to get date,day,time without using calendhar in asp.net
Apr 15 2016 6:33 AM
Hi...
am creating a designing page in dat without setting a asp.net Calendar
how will i get the days,date,time on the page default?
ex:
<table >
<tr>
<th><FeedBack</th>
</tr>
<tr>
<th>
<%
DateTime dt = DateTime.Now;
string dt1 = String.Format("{0:MMM dd yyyy h:mmtt}", dt);
Response.Write(dt1);
%>
</th>
</tr>
like dis i wanna get date in the table inside the <th></th>.
bt its nt accepting,and i wanna 1 month date as lyk dis from tdy date.
ex: tdy April 15- may 15
Reply
Answers (
1
)
How To Convert Page Into Image In ASP.NET
Shared location and sending a link instead outlook c#.net