An Age Period strut is a simple struct used for returning a period in terms of
Years, Months and Days. It is returned as part of the Age(DateTime)
function
Namespace:
CA.Common.DateTimeFunctionsAssembly: CA.Common (in CA.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Remarks
source code:
//Source code from the Code Associate C# code library, Full documentation and latest updates can be found //@ http://www.codeassociate.com/caapi/ using System; namespace CA.Common.DateTimeFunctions { public struct AgePeriod { public int Years; public int Months; public int Days; public override string ToString() { return string.Format("{0} Years,{1} Months and {2} Days", Years, Months, Days); } } }