-
I'm a beginner in javascript want to build a age calculator, I can get diff in total days, months & years but I want it in: let startD = new Date(2003, 4, 29);
let endD = new Date();
// age = 18 years 11 months 0 days |
Beta Was this translation helpful? Give feedback.
Answered by
tan75
May 11, 2022
Replies: 2 comments 3 replies
-
Hello, is this the one?
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
nitin2953
-
@nitin2953 can you please provide the dates you used for the calculation when you got the result of 32 days? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
is this the one?