Cast a Nullable Date to a .NET Nullable Date with a DateTimeKind of 'UTC' without affecting the date but removing the time.

Syntax

ISDateUtilities.CastToUtcDate(value, [defaultValue])

Parameters

NameTypeOptionalByRefDescription
value Date?
defaultValue Date Optional If omitted, a value of Nothing is assumed.

Return Value

Date

A Date value with no time portion.

Member of:
ISDateUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0