Table of Contents

Enum DateTimeFormatType

Namespace
Uncreated.Warfare.Translations.Addons
Assembly
Uncreated.Warfare.dll

Describes how DateTime and DateTimeOffset's are formatted.

public enum DateTimeFormatType

Fields

LongDate = 2

Monday, June 15, 2009

"D"

LongDateTime = 0

Monday, June 15, 2009 1:45 PM

"F"

LongTime = 4

1:45:30 PM

"T"

RelativeLong = 7

in {time span} or {time span} ago or now. Where time span is 3 days and 2 hours.

RelativeShort = 6

in {time span} or {time span} ago or now. Where time span is 3d2h.

ShortDate = 3

6/15/2009

"d"

ShortDateTime = 1

6/15/2009 1:45 PM

"g"

ShortTime = 5

1:45 PM

"t"