468,321 Members | 1,820 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,321 developers. It's quick & easy.

Using DateTime

Does DateTime have a built-in feature to just give me "Dec" or similar for
"December"?

Marco
Dec 14 '06 #1
2 1044
Marco Shaw wrote:
Does DateTime have a built-in feature to just give me "Dec" or
similar for "December"?
Do you mean you want the first three characters of a string, or something
more like
DateTime.Today.ToString("MMM") ?

Andrew
Dec 14 '06 #2
Do you mean you want the first three characters of a string, or something
more like
DateTime.Today.ToString("MMM") ?
Perfect!

(DOTNET novice!)
Dec 14 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Negroup | last post: by
6 posts views Thread by semkaa | last post: by
1 post views Thread by Mikus Sleiners | last post: by
4 posts views Thread by =?Utf-8?B?c2lwcHl1Y29ubg==?= | last post: by
5 posts views Thread by indika | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by howard w | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.