patient table fixed
This commit is contained in:
7
apps/Backend/src/utils/DobParts.ts
Normal file
7
apps/Backend/src/utils/DobParts.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export function extractDobParts(date: Date) {
|
||||
return {
|
||||
dob_day: date.getUTCDate(),
|
||||
dob_month: date.getUTCMonth() + 1,
|
||||
dob_year: date.getUTCFullYear(),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user