Gets the text value of an Age.

Syntax

ISDateUtilities.AgeAsText(dateOfBirth, [dateAsAt], [includeOldText])

Parameters

NameTypeOptionalByRefDescription
dateOfBirth Date Date of Birth.
dateAsAt Date Optional Date As At or today's date if omitted. If omitted, a value of ISRuntime.OptionalNullDate is assumed.
includeOldText Boolean Optional If true, then 'old' will be appended to the end of the returned string. I.e. '27 years old' If omitted, a value of False is assumed.

Return Value

String

A String value.

Member of:
ISDateUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0