wabbajack/Wabbajack.Common/DateTimeExtensions.cs

12 lines
215 B
C#
Raw Normal View History

using System;
namespace Wabbajack.Common;
public static class DateTimeExtensions
{
public static DateTime TruncateToDate(this DateTime d)
{
return new DateTime(d.Year, d.Month, d.Day);
}
}