 | BaseProcessorEncodeDateTimeOffset Method |
A helper method that encodes a DateTimeOffset in a completely neutral rout-trippable custom format.
Namespace: Orthogonal.NSettingsAssembly: Orthogonal.NSettings (in Orthogonal.NSettings.dll) Version: 3.0.5
Syntaxpublic static string EncodeDateTimeOffset(
DateTimeOffset? time
)
Parameters
- time NullableDateTimeOffset
- The value to encode.
Return Value
StringAn encoded DateTimeOffset in the format
{ticks},{offset}.
See Also