
November 10th, 2003, 08:10 PM
|
|
Contributing User
|
|
Join Date: Aug 2003
Location: Brisbane, Australia
Posts: 50
Time spent in forums: < 1 sec
Reputation Power: 9
|
|
this is how I get the month
Code:
int theMonth = ((System.DateTime)yourDateTimeFieldObject).Month;
to get the month string like November, December etc...
Code:
int theMonth = ((System.DateTime)yourDateTimeFieldObject).ToString("MMMM");
|