PHP DateDiff Function
$30-100 USD
Πληρώθηκε κατά την παράδοση
I need a quick php datediff function similar to the one in vbscript. I would like the output of datediff function to be “x days, x hours, x minutes, x seconds”. I want the function to accept two mysql and php DateTime values: I also want a third value that flags whether or not we want to calculate the time portion of the DateTime value.
Example:
$NowDateTime = 2005-12-02 00:00:00;
$FutureDateTme = 2005-12-02 12:40:03;
$TrimTime = False;
DateDiff($FutureDateTme, $NowDateTime, $TrimTime)
I am aware that some code is available out there but I haven’t been able to find a function that does exactly what I need.
This should only take a good php programmer about 20 minutes consequently I only want to pay $10 - $15 dollars.
Thank You
Ταυτότητα Εργασίας: #41226
Σχετικά με την εργασία
Ανατέθηκε στον:
12 freelancers κάνουν προσφορές κατά μέσο όρο $30 για αυτή τη δουλειά
I can supply you with such function with any required output. It can repurn formated string or timestamp ($10)
Hi! I can send you this function just in an hour or less. I'm thinking on returning the results as an array with the information