kennethfine
asked on
Format DateTime in the form: "W E D N E S D A Y 9/11"
I am using .NET/C#. I have DateTime values I'm pulling from a DB. For a given DateTime value, I want the day formatted with a space between each letter of the day. Then I want two spaces, then I want a numeric month and day divided by a slash. Examples:
"W E D N E S D A Y 9/11"
"F R I D A Y 9/13"
The spacing on the lettering should ideally be done with StringBuilder or whatever so this doesn't suffer massive perf issues.
I'm sure I could hack this out myself but one of you geniuses know this straight off the top of your head, hmm?
Thanks much for any help you can offer.
"W E D N E S D A Y 9/11"
"F R I D A Y 9/13"
The spacing on the lettering should ideally be done with StringBuilder or whatever so this doesn't suffer massive perf issues.
I'm sure I could hack this out myself but one of you geniuses know this straight off the top of your head, hmm?
Thanks much for any help you can offer.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.