Find Jobs
Hire Freelancers

Combine date ranges in PHP

$30-250 USD

Completed
Posted over 15 years ago

$30-250 USD

Paid on delivery
I need to get data for specified date ranges. Some date ranges overlap which causes getting overlapping data. I need the script to take date ranges and return date ranges that do not overlap. Input: $range[1][start] = strtotime ("2009-01-07 15:22:22"); $range[1][end] = strtotime ("2009-01-07 15:22:22"); $range[2][start] = strtotime ("2009-01-06 15:22:22"); $range[2][end] = strtotime ("2009-01-09 16:22:22"); $range[3][start] = strtotime ("2008-12-06 15:22:22"); $range[3][end] = strtotime ("2009-01-07 15:22:22"); The output shpuld return date ranges that do not overlap: (For this example, there would be just one range outputted) $out[0][start] = strtotime ("2008-12-06 15:22:22"); $out[0][end] = strtotime ("2009-01-09 16:22:22"); The script needs to be very efficient, no garbage. I need the developer to start as soon as I pick him/her.
Project ID: 368473

About the project

23 proposals
Remote project
Active 15 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello. Please, check private message. I gave you an example. Thnx.
$30 USD in 0 day
5.0 (215 reviews)
6.3
6.3
23 freelancers are bidding on average $46 USD for this job
User Avatar
I can do this easily. Please contact if interested.
$45 USD in 0 day
5.0 (136 reviews)
8.8
8.8
User Avatar
Hi, please, check your PM
$50 USD in 0 day
5.0 (394 reviews)
7.8
7.8
User Avatar
We can help in your project, please check PMB to see our related experience.
$150 USD in 3 days
4.8 (267 reviews)
8.2
8.2
User Avatar
Please check PMB.. jexplorer
$30 USD in 0 day
4.9 (175 reviews)
7.3
7.3
User Avatar
We are absolutely suitable for this project as we have already done the different type(Social Community/Networking/Dating, Mambo, Joomla, Oscommerce, Zencart, Real Estate, Ecommerce/Auction, Video Related, General and others) of projects very confidently and in well mannered...we can present you the best and accurate solutions you are searching for...We'll give you the superb quality of work within the expected time line...Please give us a chance to show you our working quality….Please check your PMB for more details.....Please also check our previous work attached there. Thanks
$50 USD in 1 day
4.8 (170 reviews)
7.4
7.4
User Avatar
simple job, could provide solution very quickly
$30 USD in 0 day
5.0 (33 reviews)
7.0
7.0
User Avatar
Hi, Please discuss via PM. Regards,
$30 USD in 1 day
5.0 (29 reviews)
6.7
6.7
User Avatar
Pleas check PM!
$30 USD in 0 day
5.0 (105 reviews)
6.7
6.7
User Avatar
If you want it ready in next minutes, drop me a line
$30 USD in 0 day
5.0 (72 reviews)
6.5
6.5
User Avatar
quick work.
$30 USD in 0 day
4.8 (79 reviews)
6.0
6.0
User Avatar
ready to finish it soon
$30 USD in 0 day
5.0 (39 reviews)
5.6
5.6
User Avatar
I will do it right away. Having great amount for experience for this job. I can make it in few mins.
$50 USD in 0 day
5.0 (29 reviews)
5.6
5.6
User Avatar
Hello. I have experience in php and can write such function. I can start right now. Best regards, Andrew.
$40 USD in 1 day
5.0 (9 reviews)
4.9
4.9
User Avatar
Please check the attachment for a demo. Thanks.
$30 USD in 0 day
5.0 (17 reviews)
4.8
4.8
User Avatar
I can do this
$75 USD in 1 day
4.8 (26 reviews)
4.7
4.7
User Avatar
feel free to contact me, ready to do it. thanks
$30 USD in 1 day
4.9 (22 reviews)
4.6
4.6
User Avatar
Please check PMB. Thanks.
$30 USD in 0 day
5.0 (7 reviews)
3.3
3.3
User Avatar
Please check PM! Thank you.
$30 USD in 1 day
5.0 (3 reviews)
2.5
2.5
User Avatar
please give me more details how and where should i get the date data, from DB or ???
$50 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi .... We are expert in PHP and working from last 8 years .... I want to do this project ....and i will give you error free script .. kindaly give us chance .. Thanks Animesh
$50 USD in 7 days
0.0 (1 review)
0.0
0.0

About the client

Flag of UNITED STATES
new york, United States
5.0
19
Payment method verified
Member since Jul 4, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.