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
Dipa Ahuja
NA
3.1k
713.4k
how to display date in format?
Feb 20 2010 7:04 AM
hi..
i have added 1 date field in web.confing profile area
now in home page i want to display in the format of fullmonth date, full year ex. february 20, 2010
so how to do that..?
i wrote like
ProfileCommon p;
protected void Page_Load(object sender, EventArgs e)
{
p = this.Profile;
lblbay.Text = p.BirthDate.ToShortDateString();
}
i tried to ToLongDateString() bt i getting date including the day :"
Tuesday, January 01, 1980"
i want only
"January 01, 1980"
any idea..?
thank your!!
Reply
Answers (
2
)
How to post a value from iframe to parent page?
Template field