Fix incorrect php days calculation with strtotime

Fertiggestellt Veröffentlicht vor 1 Jahr Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

Fix incorrect script in attachment.

Calculation in this script always results in 31 days, because in the script with strtotime +1 month always 31 days are added. We need the exact number of days between selected day today and day in 1 month minus 1.

This leads to wrong time periods.

Example: selected is 20/02/2023, we need to add 27 days, not 31.

Calculation to correct number of days is

((20/02/2023 + 1 month) minus 20/02/2023 - 1 day) +20/02/2023

PHP MySQL Softwarearchitektur JavaScript HTML

Projekt-ID: #36567381

Über das Projekt

28 Vorschläge Remote Projekt Aktiv vor 1 Jahr

Vergeben an:

TopSEOExpertscom

Hi, Here's my bid to implement it for you so that it always adds the end of the month and not add 31 days as it is currently doing.

$87 USD in 1 Tag
(362 Bewertungen)
8.2

28 Freelancer bieten im Durchschnitt $83 für diesen Job

lkhelladi

Hello, I'd be glad to fix the php calculations script for you. Looking forward to chat with you soon for more details. Best regards.

$100 USD in 1 Tag
(165 Bewertungen)
7.9
hamidejaz024

I understand you are looking for someone to help you fix an incorrect php days calculation with strtotime. You need the exact number of days between selected day today and day in 1 month minus 1 so that the calculation Mehr

$50 USD in 7 Tagen
(222 Bewertungen)
7.1
ecommercejui

Hi, I have checked and understand. I can fix the issue within next few hours. I'm an experienced web developer with the necessary skills for getting this job done. I am available to start immediately. I will provide a Mehr

$75 USD in 1 Tag
(156 Bewertungen)
7.4
ShrineWeb

I have some questions in relation to the specs that you have provided. Could we please have a word? My Skills: PHP, JavaScript, Software Architecture, HTML and MySQL

$50 USD in 10 Tagen
(150 Bewertungen)
6.9
indiainfosoft

I understand that you are looking for someone to help you with the calculation in the script with strtotime +1 month that always results in 31 days. I understand that you need the exact number of days between selected Mehr

$70 USD in 1 Tag
(245 Bewertungen)
6.7
jahangirkhan365

Hello Sir, I can do this task as listed and deliver this in the next 48 hours at max. I am ready to start right away. Please check my profile for work and experience. Regards Jahangir Khan

$75 USD in 2 Tagen
(86 Bewertungen)
6.2
snayelcreations

Dear Marc S., I would like to submit a proposal for the job of fixing the incorrect script in your attachment posted on Freelancer. After going through the job description, I understand that the calculation in the scr Mehr

$80 USD in 1 Tag
(38 Bewertungen)
5.9
hardeepkumar01

I would love to start working on it right now after hiring. Yes I can fix the issue into your existing script as per your requirements using my PHP development skills with perfection. so lets have a call/chat session Mehr

$100 USD in 1 Tag
(40 Bewertungen)
5.8
giaphung2k1

god dag Solution Proposal The proposed solution is to use the DateTime object instead of the strtotime when calculating the days. The DateTime object includes various methods to get the exact number of days, such Mehr

$100 USD in 7 Tagen
(92 Bewertungen)
5.7
tecnogize

Hello, I have read your details posted in " Fix incorrect php days calculation with strtotime " project. I will give 101% best output from my end so that you will consider me only for future job. I Will provide you o Mehr

$100 USD in 10 Tagen
(67 Bewertungen)
5.7
Reni112

Hi there, Hope you are doing great! I am a professional PHP I can Fix incorrect php days calculation with short time

$75 USD in 1 Tag
(18 Bewertungen)
4.8
Creaditech

Hello, I am writing to express my interest in the script fixing project. I am a highly skilled and experienced software engineer with a strong portfolio of work to demonstrate my skills. I am confident that I have the Mehr

$75 USD in 1 Tag
(10 Bewertungen)
4.1
syednomanali602

Hi Mate, I'm an experienced developer and I can help you fix the incorrect script in your attachment. I understand that the calculation always results in 31 days, but it should be the exact number of days between the Mehr

$75 USD in 7 Tagen
(13 Bewertungen)
3.8
wazeermohamed

Dear, How are you doing? I’ve carefully checked " Fix incorrect php days calculation with strtotime " and really interested in this job. I am a jvascript developer. With 10 years of experience in developing custom we Mehr

$110 USD in 4 Tagen
(2 Bewertungen)
3.4
waltergutierrez3

Hello I am a senior web developer specializing in website and app development. I read your project description and I'm pretty sure it's mine. I think you posted this project for me. I want to start as soon as possible Mehr

$100 USD in 1 Tag
(4 Bewertungen)
3.0
rajikshaikh1

Hello, I just read your project details that you need to fix incorrect day issue with strtotime func and i can complete it within few hours just leave me a message thanks

$51 USD in 1 Tag
(12 Bewertungen)
3.5
danishlarik231

Hi, Hope you are doing great! I just read your all requirements & description carefully regarding Fix incorrect php days calculation with strtotime, I have 7years+ Experience in Web development and website designing, I Mehr

$80 USD in 1 Tag
(2 Bewertungen)
1.3
naseerahmed268

I have fixed similar scripts before and I can fix this right away if you give me chance. I will start right away. Regards, Fozia

$50 USD in 1 Tag
(1 Bewertung)
0.4