The text of this article is not in this database — only its details are. Read it on the old site: Postfix Dates
2 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Postfix Dates
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Daniel JonesPosted Sep 3, 2008, 8:39 AM
Assuming the postfix wasn't too important, the whole function could be condensed to one line: return DateTime.Now.ToString("dddd dd MMMM yyyy"); At least using the "MMMM" formatter would remove that massive switch in the middle.