The methods of the DateUtil class are listed below. For a complete list of DateUtil class members, see the DateUtil Members topic.
![]() DateTimeToMilitary | Converts a DateTime class to an military formatted date/time string. |
![]() FormatIsoDate | Overloaded. Formats an ISO formatted date/time string to long date/time string. |
![]() FormatLongDateTime | Formats a date in a long format. |
![]() FormatShortDateTime | Formats a date in a short format. |
![]() GetIsoDateParts | Gets the parts of an ISO formatted date/time string (Year, Month, Day, Hour, Minute, Second). |
![]() GetShortIsoDateTime | Overloaded. Gets the time of the short iso date. |
![]() IsIsoDate | Determines if a string is an Iso date. |
![]() IsoDateToDateTime | Overloaded. Converts an ISO formatted date/time string to a DateTime class. |
![]() IsoDateToNormal | Converts an ISO formatted date/time string to a string with the format "yyyy-mm-dd hh:mm:ss". |
![]() ParseDateTime | Overloaded. Parses a string into a DateTime structure. |
![]() ParseTimeSpan | Overloaded. Parses a time string representing a time span. |
![]() TimeSpanToIsoTime | Converts a TimeSpan into a Iso date string. |
![]() ToIsoDate | Converts a DateTime class to an ISO formatted date/time string. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
DateUtil Class | Sitecore Namespace | FileUtil | MainUtil | HtmlUtil | SqlUtil | StringUtil | WebUtil | XmlUtil