DateOnlyUtility Class

Provides utility methods to work with DateOnly.

This type is not available in the netstandard and .NET Framework builds of Louis, because their BCL has no DateOnly.

public static class DateOnlyUtility

Properties

NameDescription
TodayGets a DateOnly instance whose value represents the current date.

Today

Available in: net10.0net11.0(not available in the other target frameworks of the package)

Gets a DateOnly instance whose value represents the current date.

public static DateOnly Today { get; }

Property value

DateOnly