 | TimeUtilsFriendlyDateString Method |
Displays a date in friendly format.
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static string FriendlyDateString(
DateTime Date,
bool ShowTime
)
Public Shared Function FriendlyDateString (
Date As DateTime,
ShowTime As Boolean
) As String
public:
static String^ FriendlyDateString(
DateTime Date,
bool ShowTime
)
static member FriendlyDateString :
Date : DateTime *
ShowTime : bool -> string
Parameters
- Date
- Type: SystemDateTime
[Missing <param name="Date"/> documentation for "M:Koden.Utils.TimeUtils.FriendlyDateString(System.DateTime,System.Boolean)"]
- ShowTime
- Type: SystemBoolean
[Missing <param name="ShowTime"/> documentation for "M:Koden.Utils.TimeUtils.FriendlyDateString(System.DateTime,System.Boolean)"]
Return Value
Type:
StringToday,Yesterday,Day of week or a string day (Jul 15, 2008)
See Also