Find Jobs
Hire Freelancers

Simple timestamp calculation

$10-30 USD

Completed
Posted almost 6 years ago

$10-30 USD

Paid on delivery
Hi all Firstly, thanks for reading my project. This is in PHP and is run from the command line. There are two inputs: 1. the date and time right now (i.e. the current timestamp) 2. a date in the past, for example, January 2010. Starting at the date in the past, and working all the way to the current timestamp, the script should output the timestamp at the start and end of each month. By start I mean 00:01 on the first day of the month, and by end I mean 23:59 on the last day of the month. When the script reaches the current month (based on the current timestamp), it outputs the timestamp at the beginning of the month and the current timestamp. So it would output something like this: timestamp at 00:01, January 1, 2010 timestamp at 23:59, January 31, 2010 timestamp at 00:01, February 1, 2010 timestamp at 23:59, February 27, 2010 timestamp at 00:01, March 1, 2010 timestamp at 23:59, March 31, 2010 ... timestamp at 00:01, April 1, 2018 timestamp at 23:59, April 30, 2018 timestamp at 00:01, May 1, 2018 current timestamp So you can see the tricky bit is figuring out how to get the date function to work itself through the start and end of each month based on a range of months. Any questions, please ask. NOTE COPY AND PASTE BIDS ABOUT YOUR WORDPRESS SKILLS, ETC. WILL BE IGNORED.
Project ID: 16973187

About the project

11 proposals
Remote project
Active 6 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
Hi, i m serious freelancer with 100% completion rate and i believe i can create you a function for timestamp calculation exactly as you described. I've done many similar date calculations in the past without having a single problem. If you are interested in working with me, please message me and i will try to create sample for you immediately. Edit: I have the sample ready. Thanks, Milan
$15 USD in 0 day
5.0 (366 reviews)
7.0
7.0
11 freelancers are bidding on average $25 USD for this job
User Avatar
Hi there, Will the second argument be always a date in the past? What if the second argument is a date in future? I have a 99% project completion rate and a 4.99 reputation (out of max 5.0 from more than 1100 projects over 11 years. Thanks. I look forward to hearing from you Regards, Rajesh Soni.
$30 USD in 0 day
4.9 (1035 reviews)
8.9
8.9
User Avatar
Hi in am an expert php programmer and i can write the script for yo right away. Let me know if you are interested, I can write it now.
$25 USD in 1 day
5.0 (216 reviews)
6.9
6.9
User Avatar
Hello, I have gone through your requirements and I can understood it until we get the current timestamp. But I am not sure if anything needs to be done after that. Look forward to discuss the details. Thanks.
$45 USD in 1 day
5.0 (21 reviews)
5.0
5.0
User Avatar
I can code the start and end dates for the requirements given in PHP. The PHP program will generate the start and end dates for each month from the current given month to the current date . Thanks
$15 USD in 1 day
4.8 (22 reviews)
4.2
4.2
User Avatar
Dear Sir, A logic need to implement to compare dates and time to show up into the UI. Also, just want to know if this would be done into one place or multiple. I have 11 years of experience in customisation of Wordpress as per requirements. Please ask any question to make this productive. Thanks, Deepak
$30 USD in 1 day
4.9 (10 reviews)
3.8
3.8
User Avatar
I read the task details and I can do this task. looking forward for a positive response from you.
$20 USD in 1 day
5.0 (8 reviews)
2.4
2.4
User Avatar
I believe my skills are a match for your project. I have a good grasp of working with php, mysql. So I would be easily able to achieve the task; converting your current website (with same or better design format). I am looking for new opportunities so I can show clients my expertise and win their confidence to grab more jobs! If given a chance to work with you I will make it success with all my efforts and expertise..!!
$25 USD in 1 day
4.0 (5 reviews)
1.8
1.8
User Avatar
A proposal has not yet been provided
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of MACAU
Hong Kong, Macau
5.0
31
Payment method verified
Member since Sep 21, 2016

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.