PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Formats the time difference between two dates as a userfriendly string in the given locale.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(IsDeterministic = true)]
public static string CalculateAge(
	 context,
	 start
)
Visual Basic (Declaration)Copy imageCopy Code
<(IsDeterministic := True)> _
Public Shared Function CalculateAge ( _
	context As , _
	start As  _
) As 

Parameters

context
IRenderContext
The context
start
DateTime
Start date

Return Value

String

See Also

Advanced