Submitted
Advice generator
- HTML
- CSS
- JS
- API
@RobertPietraru
Submitted
Submitted
How do you validate dates and find how much time has passed?
For date validation I'm checking if the day, month and year I put in is the same in the date object.
For finding how much time has passed I get the milliseconds and divide by 365, 30, etc. That's not accurate though, so I'm looking for a better approach
Submitted