Click or drag to resize
DateTimeUtilities Class
Utilities for date and time manipulation.

This class is intended for internal use and should not be used directly in third-party appliations.

Inheritance Hierarchy
SystemObject
  Sdl.LanguagePlatform.CoreDateTimeUtilities

Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public static class DateTimeUtilities

The DateTimeUtilities type exposes the following members.

Methods
  NameDescription
Public methodStatic memberNormalize
Normalizes the date to UTC, unless dt's date is already specified in UTC.
Public methodStatic memberTryParseWithFallback
Attempts to parse the specified string into a DateTime object. First, System.DateTime.TryParse is used to attempt a parse in the universal format. If that fails, a parse is attempted using the current local date/time format.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments