Find Jobs
Hire Freelancers

Javascript Date Calculator v2

$30-250 USD

Avslutat
Publicerad nästan fem år sedan

$30-250 USD

Betalning vid leverans
Simple javascript solution to calculate 45 and 180 days from that input date and display the two dates (month, day, year) and some various text boxes associated with the two outputs. As soon as the 4 number year is input the output will be generated. I have included a screen shot and the javascript file. As you can see there is an error with the javascript. The result is correct. Date arithmetic that crosses month boundaries is off by 1 because there's no day 0 in months. For example, if you input the date of October 1, 2019, you will get the results of: 45 days: Thursday, November 14, 2019 180 days: Sunday, March 29, 2020 But, if you input the date of December 1, 2019, you will get the results of: 45 days: Wednesday, January 15, 2020 180 days: Friday, May 29, 2020 This can not be correct because there are 31 days in December. 31 + 15 = 46? Some sort of miscalculation happens in most months. The reason you're getting November 14 in the first case is because daylight savings time changes sometime in October. Your afterTime() function treats all days as 24 hours long, but when DST ends we add an extra hour to that day. So you're going from Oct 1 00:00:00 to Nov 14 23:00:00 instead of Nov 15 00:00:00. Use the built-in date arithmetic in the Date class, it automatically adjusts for this. This pen here pulls the correct date but it is from the current date and not the actual input dates [login to view URL] Can you fix? I will only consider people who start their quote with the word "BLUE".
Project ID: 20348351

Om projektet

24 anbud
Distansprojekt
Senaste aktivitet fem år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
24 frilansar lägger i genomsnitt anbud på $147 USD för detta uppdrag
Använd avatar
BLUE Hi, I understood your issue and I need to fix it(As per brief) We are ready to get started right away... Best Regards, LX
$300 USD Om 5 dagar
4,9 (490 omdömen)
8,7
8,7
Använd avatar
BLUE Hello, My name is Sergey. I am Freelancer from Saint Petersburg, Russia. I can help you as an experienced programmer to update your JavaScript and calculate +45 and +180 days properly. 2000+ successfully completed projects speak for me. Links and reviews from my past clients available in my profile. I am an individual, I am not a company in any meaning. I can communicate via Freelancer.com. -- Sergey aka Takereal
$50 USD Om 1 dag
5,0 (1957 omdömen)
8,2
8,2
Använd avatar
HI, I can assist you with Javascript Date Calculator. Here is a sampling of the few of my work contained at my portfolio: https://www.freelancer.com/u/extreamcode.html This is a placehoolder bid, I would be able to quote final price and time after discussion. I highly value professionalism and hold myself strictly accountable to my clients. I aim to form a long-term working relationship. Please, let me know what is needed to secure this bid! Thank you for your consideration. Asad Sajjad
$140 USD Om 7 dagar
5,0 (104 omdömen)
7,9
7,9
Använd avatar
100% Completion Rate and 5 Stars Hi, there. My name is Lee, and I am an experienced web developer. I read your job description, and I am interested in your project. I have 6+ years of experiences in developing websites using PHP, Javascript, HTML & several frameworks. As a dedicated full stack developer, I am always available for daily communication and ready for your full response. I am free now, I can start to work in your project immediately. I would love to have an opportunity to discuss with you for further details. Best regards.
$140 USD Om 7 dagar
5,0 (42 omdömen)
6,6
6,6
Använd avatar
Hi How are you? I read your proposal and i am quite interested in your project I have rich experience in javascript, jquery, I will delivery perfect result on time. I look forward to working with you in good partnership Best regards
$250 USD Om 2 dagar
5,0 (26 omdömen)
6,5
6,5
Använd avatar
BLUE Hi!! I can surely fix this. I am JavaScript Developer having more then 5 years experience in javascript development. Skills: JavaScript, PHP, WordPress, HTML5/CSS3/Bootstrap3, Jquery, MySql I would like to arrange an interview with you for detailed discussion. Regards!!
$300 USD Om 7 dagar
4,9 (86 omdömen)
6,8
6,8
Använd avatar
Hello I have read your description carefully and I'm sure I can complete it in time perfectly. I've rich experience in Web development over 5+ years. I've good knowledge of js frameworks such as Angular, React.js, and PHP frameworks such as laravel, codeignitor,WordPress, Magento ... And also prepared for both full-stack and mean-stack development. What I intend is to provide support on issues after delivery with FREE as well as a future upgrade with low budget. https://www.freelancer.com/projects/mobile-phone/Design-Revamp-Project-for-React/ https://www.freelancer.com/projects/php/Looking-for-react-native-expert-19857130/ https://www.freelancer.com/projects/php/Project-for-Mochuan-19601112/ https://www.freelancer.com/projects/php/Project-for-Mochuan-18938442/ https://www.freelancer.com/projects/react-js/Login-register-webapp-ASP-NET/ https://www.freelancer.com/projects/php/Project-for-Mochuan-19190066/ https://www.freelancer.com/projects/php/Create-CSV-file-using-parshub/ https://www.freelancer.com/projects/php/Project-for-Mochuan-19182464/ https://www.freelancer.com/projects/php/Project-for-Mochuan-19187886/ https://www.freelancer.com/projects/php/Project-for-Mochuan-19119676/ https://www.freelancer.com/projects/php/Project-for-Mochuan-19072706/ I hope your contact to discuss detail on chats. thanks.
$80 USD Om 7 dagar
4,9 (107 omdömen)
6,7
6,7
Använd avatar
blue i can fix it easy and fast as i know the code issue i am a top js expert with 15 years experience Regards
$200 USD Om 4 dagar
5,0 (44 omdömen)
6,7
6,7
Använd avatar
hi i have 4 years experience in like thins kind of job, hi i have 4 years experience in like thins kind of job, hi i have 4 years experience in like thins kind of job
$80 USD Om 1 dag
5,0 (96 omdömen)
5,8
5,8
Använd avatar
BLUE Hi, Thanks for sharing your requirement here at Freelancer, I will be more than happy to help you. First of all the screenshot and javascript code is missing that you mentioned attached with your requirement. I have reviewed your requirement and understand that you are getting wrong days calculation for some months and I think if we use javascript built in date functions that problem will be fixed because if we are calculating 45 days from 1st December 2019 then it should calculate or add 45 days in the input date and calculate using the built in date function, thus will get the correct 45 days from the input date i.e 14th January 2020 because built in date function gets correct days for the month. One thing would like to mention that I will take payment only after completion of this job, I will first finish this job and then ask you to award this job and then pay me at the same time with your valuable feedback, hope it's fair enough. Regards, Kapil
$120 USD Om 2 dagar
5,0 (45 omdömen)
5,3
5,3
Använd avatar
Blue Hi Do leaps years need to be considered as well? It can get messy - I would probably use some sort of library for this. Please let me know if interested.
$50 USD Om 3 dagar
5,0 (35 omdömen)
5,0
5,0
Använd avatar
BLUE. I have 10+ years of experience in Javascript. I understand your requirement and I can deliver it in time.
$30 USD Om 1 dag
4,7 (47 omdömen)
4,8
4,8
Använd avatar
BLUE Hi sir. I am a full stack php and javascript developer. I am top skilled javascript programmer, I've made many javascript complex applications. So I think I can fix your problem perfectly.
$100 USD Om 2 dagar
5,0 (11 omdömen)
3,3
3,3
Använd avatar
Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned "I can do this job and give you an efficient job that will be very acceptable and presentable. I and my team work on web development and mobile apps and I can assure you that you will never be disappointed"
$140 USD Om 7 dagar
0,0 (1 omdöme)
0,0
0,0
Använd avatar
I would write up an html page with the script to calculate date. I have similar experience while building library management system software and insurance software. Relevant Skills and Experience HTML5 ,CSS3, JavaScript
$133 USD Om 3 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
BLUE is actually my favorite color. The pen you referenced has the solution but someone just didn't finish putting it all together properly. Given that I don't know anything about the hosting platform or the tools available to update or test your web site and that there may be additional requirements, I'm guessing no more than an hour and a half worth of work. If your implementation is substantially similar to the pen you referenced, it should take much less time to implement and verify and make a minor tweak or two.
$145 USD Om 7 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
Hi. I understand the problem and can deliver the required end product. I am currently a Frontend Developer for a large E-Commerce in South Africa, and am familiar with these kinds of requirements. I have 3 years of experience in JavaScript and jQuery.
$140 USD Om 7 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
I am a web developer with 4 years + experience in web development, I read your requirements thoroughly and I believe I can do this work with accuracy. Contact me for further discussions.
$120 USD Om 3 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
BLUE Hi there! We have previous experience similar to your project. Also, we have developed impressive softwares in the past couple years. Therefore, we can provide a perfect development of your application according to your requirements. We also have a quality assurance team that will make sure that you are getting best quality work and we will treat your work like our own because we know how important it is to you. The amount we are bidding is reasonable according to the requirements provided by you. Bidding amount may exceed your expected value but will be justified by the output. Feel free to contact us so that we can discuss the complete details and can get started. We are looking forward to hearing from you soon. Regards, Team Softnate.
$120 USD Om 4 dagar
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för UNITED STATES
Minnesota, United States
5,0
5
Verifierad betalningsmetod
Medlem sedan dec. 19, 2014

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.