This commit is contained in:
AdisakKanthawilang 2024-05-16 15:22:30 +07:00
parent 0524653f4b
commit 4dac692284
7 changed files with 26 additions and 22 deletions

View file

@ -41,6 +41,10 @@ export function calculateRetireDate(birthDate: Date) {
return new Date(`${yy + 61}-09-30T00:00:00.000+07:00`);
}
export function calculateRetireLaw(birthDate: Date) {
let yy = birthDate.getFullYear();
return new Date(`${yy + 60}-09-30T00:00:00.000+07:00`);
}
export function calculateRetireYear(birthDate: Date) {
let dd = birthDate.getDate();