Link to home
Start Free TrialLog in
Avatar of johnkainn
johnkainn

asked on

C# datetime

Hi,
I need to find   day.month year. For example: 14.12.2011. Can you please giva an example?
ASKER CERTIFIED SOLUTION
Avatar of p_davis
p_davis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
or this one?

int iDay = DateTime.Now.Day;
int iMonth = DateTime.Now.Month;
int iYear = DateTime.Now.Year;

Open in new window

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial