Date Time difference and a new time adding intervals in days, week, month etc.
I’ve written a DateTime helper class to get:
- DateTime difference as an object and string
- DateTime details as an array and object
- Repeat DateTime by minute, hour, day, week, month, year using interval etc.
You can checkout the repository from github.com.
Uses: View Demo