How to extract the month and year from date

cdemott33
cdemott33 used Ask the Experts™
on
I need to extract the month and year from today's date and display them as follows:

YYMM

Example:  1108 would be todays year and month.

How do I do this?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2012
Top Expert 2014
Commented:
Today.ToString("yyMM")

Author

Commented:
Thank you!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial