EssentialsPeriod.Today method

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

Today()

Static

Returns a EssentialsPeriod representing the current day from start to end, according to the local time zone.

public static EssentialsPeriod Today()

Returns

Today(TimeZoneInfo)

Static

Returns a EssentialsPeriod representing the current day from start to end, according to the specified timeZone.

public static EssentialsPeriod Today(TimeZoneInfo timeZone)

Parameters

timeZone TimeZoneInfo

The time zone.

Returns

Today(DateTimeOffset, TimeZoneInfo)

Static

Returns a EssentialsPeriod representing the day of timestamp from start to end, according to timeZone.

public static EssentialsPeriod Today(DateTimeOffset timestamp, TimeZoneInfo timeZone)

Parameters

timestamp DateTimeOffset

The timestamp.

timeZone TimeZoneInfo

The time zone.

Returns