รายละเอียดทุนการศึกษา/ฝึกอบรม
This commit is contained in:
parent
7666554388
commit
12c255e82f
4 changed files with 1309 additions and 28 deletions
|
|
@ -988,7 +988,7 @@ export const useCounterMixin = defineStore("mixin", () => {
|
|||
* @param endDate วันสิ้นสุด format MM-DD-YYYY"
|
||||
* @returns ผลการคำนวน ปี เดือน วัน ในรูปแบบ 1 ปี 10 เดือน 5 วัน
|
||||
*/
|
||||
function calculateDurationYmd(startDate: string, endDate: string) {
|
||||
function calculateDurationYmd(startDate: any, endDate: any) {
|
||||
if (startDate && endDate) {
|
||||
const start = new Date(startDate);
|
||||
const end = new Date(endDate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue