แก้ไข Feature OP ข้อ 2990

This commit is contained in:
Nakorn Rientrakrunchai
2020-08-12 21:39:10 +07:00
parent 1b8c7d4a9f
commit 7d46ee9b2d
15 changed files with 841 additions and 17 deletions

View File

@@ -34,6 +34,15 @@ public class MyHelper
return result;
}
public static DateTime? RemoveTimeFromDate(DateTime? d)
{
if (d.HasValue)
{
return new DateTime(d.Value.Year, d.Value.Month, d.Value.Day);
}
return null;
}
public static string GetDateStringForReport(DateTime? date)
{
if (date.HasValue)