| DateTimeUtilitiesNormalize Method |
Normalizes the date to UTC, unless dt's date is already specified in UTC.
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic static DateTime Normalize(
DateTime dt
)
Public Shared Function Normalize (
dt As DateTime
) As DateTime
public:
static DateTime Normalize(
DateTime dt
)
static member Normalize :
dt : DateTime -> DateTime
Parameters
- dt
- Type: SystemDateTime
The date to normalize
Return Value
Type:
DateTimeThe UTC-normalized date, or the identical value if the date is already in UTC.
See Also
Comments