EssentialsTime.GetStartOfMonth method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time |
---|---|
Assembly | Skybrud.Essentials.dll |
GetStartOfMonth()
Gets a new instance of EssentialsTime representing the start of the month.
If EssentialsTime.TimeZone is present, the start of the month will be adjusted according to the time zone and daylight saving.
public EssentialsTime GetStartOfMonth()
Returns
An instance of EssentialsTime.
GetStartOfMonth(TimeZoneInfo)
Gets a new instance of EssentialsTime representing the start of the month.
The start of the month will be adjusted according to the time zone and daylight saving.
public EssentialsTime GetStartOfMonth(TimeZoneInfo timeZone)
Parameters
timeZone
TimeZoneInfo
The time zone for which the time will be adjusted.
Returns
An instance of EssentialsTime.