471,086 Members | 1,205 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,086 software developers and data experts.

Using DateTime

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

Marco
Dec 14 '06 #1
2 1101
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.