|
|
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# | |
|---|---|
[(IsDeterministic = true)] public static string CalculateAge( context, start ) | |
| Visual Basic (Declaration) | |
|---|---|
<(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
LocaleModule Class
Smartsite.Runtime.Modules Namespace