Skip to content

RiahiKarim/ng4

Repository files navigation

Date Duration Calculator

Calculate Duration Between Two Dates

This calculator calculates the duration, which is the day count and the number of days, months and years between two dates. Among other things, it can be used to find how many days old you are :)

Build & Development

Setup

Fork and clone the repo.

$ git clone https://github.com/RiahiKarim/ng4.git

cd into it and install npm dependencies:

$ cd ng4
$ npm install

Install angular-cli:

$ npm install @angular/cli -g

This next step will be the only one you will use from now-on:

$ ng serve

This will rebuild the site in dev mode and start the application. You can access the application on localhost:4200.