DateTimeExtensions.ToShortDateString Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

ToShortDateString(NullableTime>)

Converts a datetime object to its short date string representation.

public static string ToShortDateString(this DateTime? date)

Parameters

date
System.Nullable{System.DateTime}

Returns

System.String

The datetime object as a string with the specified format applied.