แก้ไข Feature OP ข้อ 2990
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user