Suljettu

Quick Javascript work with dates

I need a function made in javascript (will be used in Node.js so momentJS can be used) to get date in a different format. See examples below:

Example 1:

Inputs to the function:

Product: Product-A

Start: November 18 2019

End: January 10 2020

I need it manipulated so that it will output the following array of javascript objects:

[

{

product: "Product-A",

product_info: allproducts.product-a,

month: "11-2019",

start_date: "18",

end_date: "30"

},

{

product: "Product-A",

product_info: allproducts.product-a,

month: "12-2019",

start_date: "1",

end_date: "31"

},

{

product: "Product-A",

product_info: allproducts.product-a,

month: "1-2020",

start_date: "1",

end_date: "10"

}

]

Example 2:

Inputs to the function:

Product: Product-C

Start: November 18 2019

End: November 29 2019

I need it manipulated so that it will output the following array of javascript objects:

[

{

product: "Product-C",

product_info: allproducts.product-c,

month: "11-2019",

start_date: "18",

end_date: "29"

}

]

Taidot: PHP, Joomla, tietojärjestelmäarkkitehtuuri, Javascript, HTML

Näytä lisää: javascript date, javascript date without timezone, javascript date format, date-fns, javascript date add days, javascript date methods, javascript date parse format dd mm yyyy, javascript date timezone, javascript work imlive website, quick art work, javascript work csv file, quick photoshop work, xml parser javascript work sharepoint, javascript difference dates year, javascript work day calculate, javascript average dates, quick javascript help coder, javascript work kharkiv, need quick css work, javascript calculating dates years

Tietoa työnantajasta:
( 0 arvostelua ) Kent, United States

Projektin tunnus: #22147330

17 freelanceria on tarjonnut keskimäärin 28$ tähän työhön

schoudhary1553

Hello Sir, I am expert who understands the value of time. I pride myself in my attention to detail. I am very hard working and aim to deliver in less time than quoted. I want to make you, my employer happy without cha Lisää

$100 USD 3 päivässä
(74 arvostelua)
6.5
aykutcanturkmen

Dear, client. As you can see my review I'm expert at Javascript and ReactJS and Angular and PHP... Of course Laravel and Codeignitor is perfect. The person who experts at Javascript can clearly finish all web project. Lisää

$50 USD 1 päivässä
(72 arvostelua)
6.2
liumuyan

Hello. Dear Sir I have read your project details and I am very excited. I am getting interested in your job. I would love to have the opportunity to discuss your project with you. I have some questions about your proje Lisää

$30 USD 7 päivässä
(27 arvostelua)
4.8
artem127

Hi, sir I have best skills and much experiences in javascript/nodejs programming. I have already completed so much projects and get good reviews from employers. I am sure I can complete this project. If we have a chat, Lisää

$20 USD 7 päivässä
(28 arvostelua)
4.9
rp07364

Hi Employer, Greeting of the Day!! Thank you for sharing this interesting project. I have read the project. I am very much interested in this project. I am well experienced Web Developer from the industry and I can Lisää

$20 USD 7 päivässä
(16 arvostelua)
4.4
BitzageTechHub

Greetings, my name is Ahmad. I am Head of Client Relations and a web-developer myself. I would love to have an opportunity to discuss your project with you. With over 5 years of experience in mobile/web design and de Lisää

$20 USD 7 päivässä
(5 arvostelua)
3.8
sayantan24

I have been working for 10 years in application development. I'll be able to meet your expectation. Also I'll provide you 1 hr free support after the completion of the project. I am available now.

$25 USD 1 päivässä
(1 arvostelu)
2.8
Bobga

Hello! My pleasure is to satisfy you. I have been as a senior web developer for 5+ years. ✔️My top skill are ★ PHP(Laravel, CodeIgniter, WordPress...) ★ AngularJS, ReactJS, VueJS, Node.JS Lisää

$30 USD 1 päivässä
(4 arvostelua)
2.4
dizitalogic

Greetings! We have gone through project description and we know what you are looking for. We have done similar work in the past, so it won’t take much of your time. Do not pay us until you get full satisfaction. W Lisää

$20 USD 1 päivässä
(6 arvostelua)
2.8
NBSPvtLtd

Hi There, Check the below function. function(date){ var d = new Date(date); [login to view URL](d); [login to view URL]([login to view URL]()) } You can message me for any enhancement in above code or for explaining me what exactly you requi Lisää

$20 USD 1 päivässä
(1 arvostelu)
2.6
rashadDev

Greetings, I'm an experienced Software Engineer & Architect, with 5+ years in software development, with startups and other multinationals. My fields of experience include : - 5 years of experience in software archi Lisää

$20 USD 1 päivässä
(5 arvostelua)
2.2
mwileyfullstack

I can do this for you in under 10 minutes upon acceptance of my bid. I will deliver it to you and ensure that it meets your standards.

$15 USD 1 päivässä
(2 arvostelua)
1.3
nasri147

Hi, I am a JavaScript and Node.js developer, I totally understood the project details and I can deliver it in less than a day. best regards,

$30 USD 1 päivässä
(1 arvostelu)
0.8
shantun7792

Hello hope you are doing well I am full stack developer having designing team, I am newbie here so i have no more explanation, I have experience morr than 3+ year for an agency now i am here. you may have a look at my Lisää

$20 USD 3 päivässä
(1 arvostelu)
0.2
opensense8

Hello, dear. Thanks for your job posting. I will do it within *** AN HOUR *** as soon as you hire me. Please contact me. Thanks.

$20 USD 1 päivässä
(0 arvostelua)
0.0
priyagrover77

Hello Client, I have a good knowledge in node js and moment js. I am very confident for this job. For a better understanding of your requirements and query clarification, I am suggesting you to initiate a CHAT. Afte Lisää

$20 USD 7 päivässä
(0 arvostelua)
0.0
leojesu20

Hello, how are you? I have 4+ years experience in development and design website. I am javascript, jquery, html, css, json expert developer. I have worked on several projects that require solving difficult problems a Lisää

$15 USD 1 päivässä
(0 arvostelua)
0.0