Table of Contents

Method ToDateTime

Namespace
YndigoBlue.Velocity.Utils
Assembly
YndigoBlue.Velocity.dll

ToDateTime(DateOnly)

Converts a DateOnly value to DateTime with time set to midnight.

public static DateTime ToDateTime(this DateOnly dateOnly)

Parameters

dateOnly DateOnly

The DateOnly value to convert.

Returns

DateTime

A DateTime with the date from dateOnly and time set to 00:00:00.