0

Possible Duplicate:
How do I calculate someone’s age in C#?

How do I calculate someone's age in C#, if I have their Birthdate and today's date?

Community
  • 1
  • 1
william
  • 6,666
  • 18
  • 63
  • 105

1 Answers1

0

From MSDN: http://msdn.microsoft.com/en-us/library/system.timespan_members(v=VS.71).aspx

Timespan contains members for Days, Hours, Minutes, Seconds, Milliseconds, and Ticks. How accurate do you want it to be?

Jesse Weigert
  • 4,518
  • 5
  • 27
  • 36