เพิ่มประวัติ การดำเนินกิจกรรมการประเมิน
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user