Cerrado

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"

}

]

Habilidades: PHP, Joomla, Arquitectura de software, Javascript, HTML

Ver más: 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

Información del empleador:
( 0 comentarios ) Kent, United States

Nº del proyecto: #22147330

17 freelancers están ofertando el promedio de $28 para este trabajo

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 Más

$100 USD en 3 días
(74 comentarios)
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. Más

$50 USD en 1 día
(72 comentarios)
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 Más

$30 USD en 7 días
(27 comentarios)
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, Más

$20 USD en 7 días
(28 comentarios)
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 Más

$20 USD en 7 días
(16 comentarios)
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 Más

$20 USD en 7 días
(5 comentarios)
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 en 1 día
(1 comentario)
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 Más

$30 USD en 1 día
(4 comentarios)
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 Más

$20 USD en 1 día
(6 comentarios)
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 Más

$20 USD en 1 día
(1 comentario)
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 Más

$20 USD en 1 día
(5 comentarios)
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 en 1 día
(2 comentarios)
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 en 1 día
(1 comentario)
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 Más

$20 USD en 3 días
(1 comentario)
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 en 1 día
(0 comentarios)
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 Más

$20 USD en 7 días
(0 comentarios)
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 Más

$15 USD en 1 día
(0 comentarios)
0.0