date_difference.php PHP script

SPONSORED LINKS

    Specification

  • Version:
  • File size: 0 KB
  • File name: download.php?sid=10
  • Last update:
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • Language: PHP
  • Price:Freeware
  • Company: Excudo.net (View more)

date_difference.php script description:




Publisher review:
date_difference.php function will calculate the difference between two dates. This function will calculate the difference between two dates and can output it as either a string or an array, indicating the amount of years, months, days, hours, minutes and seconds of difference.

The returned result can be either a string or an array.The functions has 2 argument and a third optional one. dateDifference($date1, $date2, $output);

The first two arguments are the two dates, the third (optional) one allows you to select the kind of output you want. By default this is a string in the form of x years, x monhts, xdays and x hours, x minutes, xseconds. But it's also possible to have the function return an array; this can be either a normal array (0=>x, 1=>x, 2=>x, etc.), or an associative array ("year"=>x, "month"=>", etc.) The function will always calculate a positive difference, regardless of the order in which you pass the dates.
date_difference.php is a PHP script for Time and Date scripts design by Excudo.net. It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.

Operating system:
Windows / Linux / Mac OS / BSD / Solaris

Latest script and internet news

222

222

22

Posted on: 18 Jul 2023 22:27 by A. Brown

111

111

111

Posted on: 18 Jul 2023 22:24 by A. Brown

The permanently active Push system offered by the new Google Chrome 42

The permanently active Push system offered by the new Google Chrome 42

Hacked By !Sc-sT

Posted on: 17 Mar 2015 07:57 by A. Brown

SPREAD THE WORD

User Rating


Rating: 2.2 out of 5
Based on 13 ratings. 13 user reviews.

  • Currently 2.15 out of 5
  • 1
  • 2
  • 3
  • 4
  • 5