Solved

format date string.

Posted on 2008-10-07
4
224 Views
Last Modified: 2012-05-05
I have the following:
Profile.DOB.ToLongDateString();
"August-31-08"
I would like to have it in the format August 31,2008
0
Comment
Question by:mathieu_cupryk
  • 2
  • 2
4 Comments
 
LVL 26

Accepted Solution

by:
Anurag Thakur earned 500 total points
Comment Utility
DateTime.Now.ToString("MMMM dd, yyyy")
0
 
LVL 26

Expert Comment

by:Anurag Thakur
Comment Utility
0
 
LVL 55

Expert Comment

by:Jaime Olivares
Comment Utility
use:

Profile.DOB.ToString("MMMM dd, yyyy");
0
 
LVL 55

Expert Comment

by:Jaime Olivares
Comment Utility
oops, too late.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now