report ใบสมัครสอบ
This commit is contained in:
parent
4d634413d0
commit
05a06e6431
7 changed files with 474 additions and 79 deletions
|
|
@ -330,10 +330,10 @@ namespace BMA.EHR.Domain.Extensions
|
|||
sb.Append(days == 0 ? "" : $"{days} วัน ");
|
||||
return sb.ToString();
|
||||
}
|
||||
public static CalculateBetweenDateV2ValueObj? CalculateBetweenDateV2Value(this DateTime startDate, DateTime endDate)
|
||||
public static CalculateBetweenDateV2ValueObj CalculateBetweenDateV2Value(this DateTime startDate, DateTime endDate)
|
||||
{
|
||||
if (startDate == null || endDate == null)
|
||||
return null;
|
||||
// if (startDate == null || endDate == null)
|
||||
// return null;
|
||||
DateTime today = endDate;
|
||||
DateTime birthDate = Convert.ToDateTime(startDate).AddDays(-1);
|
||||
var years1 = birthDate;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue