Completed

Parse two dates from a string (must be in Javascript)

I have strings like this:

[login to view URL]

[login to view URL]|12068-1905231335--31362-1-13558-1905231820

[login to view URL]

https://www.google.com/flights/#flt=LHW.HAK.2019-05-16*HAK.LHW.2019-05-23;c:USD;e:1;sd:1;t:f

[login to view URL]:2019-05-23/economy/1a:0c:0i?sort=price&order=asc

I need a JS function that extracts inbound (smaller date) and outbound (bigger date) and modifies the form values for inbound / outbound for me. The idea is to paste a string into the 'url' field and inbound/ outbound update automatically.

Parsing/ Update MUST be BEFORE form submit.

I'll provide the source for the form.

Skills: Javascript, jQuery / Prototype, PHP

See more: calculate number days dates using javascript, dates search dates using javascript, can find number days dates using javascript, javascript date range, javascript string to date, javascript compare dates, javascript epoch to date, javascript date.parse timezone, javascript convert date format, javascript date literal, javascript date, parse drivers license javascript, calculating number days dates using javascript, calculating dates using javascript, parse mysql database javascript, generate phone string javascript, find difference dates using javascript, parse xml file javascript array, parse post data javascript, days dates using javascript

About the Employer:
( 181 reviews ) Palo Alto, United States

Project ID: #19585582

Awarded to:

wow4433

Hey We can do this definitely in 1 day and deliver you with quality . Waiting for your reply. Thanks

$25 USD in 1 day
(1 Review)
3.4

5 freelancers are bidding on average $24 for this job

kipdev13

Hi! I have experiences for 15+ years about IT programming. I have done your proposal quickly and then u will show good result. I want your detailed schedule. Thanks.

$30 USD in 1 day
(50 Reviews)
6.1
bilal978

Hello, the url is going to be pasted in a textbox on a form, right? and you want to extract the inbound and outbound dates before submitting the form? is that right? Also is the date format going to be the same in all More

$30 USD in 1 day
(21 Reviews)
3.8
$25 USD in 1 day
(5 Reviews)
2.5
uzairnaseer920

In my professional experience, I've been working as a Freelancer, a Young Researcher in the field of Image Processing and a Social Entrepreneur (still working the three of them separately), as a Computer Vision Algori More

$10 USD in 7 days
(0 Reviews)
0.0