Skip to content
Advertisement

“From 10 to 20 March 2020” i need this date format from two dates

I have a start date and end date.

From those dates i need to print the dates in the below formats.For example:

  • Start Date:10/03/2020
  • End Date:20/03/2020

Needed Format :

  • From 10 to 20 March 2020
JavaScript

From this i only get startdate format. I need to combine both start and end date.

In laravel blade:

JavaScript
[enter image description here][count down of dates] form this start and end date i need to show how many days,hours,mins,sec for the event has to come and near.
JavaScript

Advertisement

Answer

If you will always have it in same month:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement