Skip to content

TimeStyle

Namespace: TrganReport.Enums

Specifies the format style for rendering DateTime values.

public enum TimeStyle

Inheritance ObjectValueTypeEnumTimeStyle
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields

Name Value Description
TimeOnly 0 Shows only the time in 24-hour format with hours, minutes, and seconds. Pattern: "HH:mm:ss"
DateAndTime 1 Shows the full date followed by the time in 24-hour format. Pattern: "yyyy-MM-dd HH:mm:ss"
TimeAmPm 2 Shows only the time in 12-hour format with AM/PM designator. Pattern: "hh:mm:ss tt"