Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Aspectacular
DateTimeExtensions
Quarter
Aspectacular.DateTimeExtensions.Quarter C# (CSharp) Method
DateTimeExtensions Class Documentation
Datei anzeigen
Open project: vgribok/Aspectacular
Quarter()
public
static
method
Returns quarter number 1..4
public
static
Quarter
(
this
dt
) :
int
dt
this
return
int
public static int Quarter(this DateTime dt) { return (dt.Month - 1)/3 + 1; }
DateTimeExtensions
FromSortableIntDateTime
FromSortableIntTime
GoTo
IsUtc
PreviousMoment
Quarter
ToDateTime
ToSortableIntDate
ToSortableIntTime
ToSortableLongDateTime
ToSortableLongTime
WeekOfYear