|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Converts the value of the given DateTime to the equivalent string representation specified by the RFC1123 standard ("ddd, dd MMM yyyy HH:mm:ss GMT").
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[(IsDeterministic = true)] public static string ToRfcString( dt ) | |
| Visual Basic (Declaration) | |
|---|---|
<(IsDeterministic := True)> _ Public Shared Function ToRfcString ( _ dt As _ ) As | |
Parameters
- dt
- DateTime
A DateTime.
Return Value
A string representation of the value of the given DateTime as specified by the RFC1123 standard.
Remarks
This pattern is a defined standard. Therefore, it is always the same regardless of the culture or the format provider.
See Also
DateTimeViperMethods Class
Smartsite.Runtime.Modules Namespace