EssentialsPeriod.ThisMonth method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time
Assembly Skybrud.Essentials.dll

ThisMonth()

Static

Returns a EssentialsPeriod representing the current month, according to the local time zone.

public static EssentialsPeriod ThisMonth()

Returns

ThisMonth(TimeZoneInfo)

Static

Returns a EssentialsPeriod representing the current month, according to the specified timeZone.

public static EssentialsPeriod ThisMonth(TimeZoneInfo timeZone)

Parameters

timeZone TimeZoneInfo

The time zone.

Returns

ThisMonth(DateTimeOffset, TimeZoneInfo)

Static

Returns a EssentialsPeriod representing the month of dto and according to timeZone.

public static EssentialsPeriod ThisMonth(DateTimeOffset dto, TimeZoneInfo timeZone)

Parameters

The timestamp.

timeZone TimeZoneInfo

The time zone.

Returns