เพิ่มประวัติ การดำเนินกิจกรรมการประเมิน

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-04-13 15:14:51 +07:00
parent 9feecad1cb
commit ddb4232254
29 changed files with 2626 additions and 47 deletions

View File

@@ -95,6 +95,18 @@ public class MyHelper
}
}
public static string GetTimeStringFromDate(DateTime? date)
{
if (date.HasValue)
{
return date.Value.ToShortTimeString() + "น.";
}
else
{
return "";
}
}
public static DateTime? GetDateFromString(string date)
{
if (string.IsNullOrEmpty(date)) return null;