PHP Classes

PHP Date Percent: Calculate the percentage of the days that passed

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 136 This week: 1All time: 9,258 This week: 560Up
Version License PHP version Categories
a_ 1.0.0Freeware5PHP 5, Time and Date
Description 

Author

This class can calculate the percentage of the days that passed.

It determines the current day of the month and calculates the percentage of days that passed since the beginning of the month relatively to the total number of days in the month.

The class can also calculate the percentage of days that passed since the beginning of the year relatively to the total number of days in the year.

Innovation Award
PHP Programming Innovation award nominee
January 2020
Number 8
Some applications need to show how many days passed since the beginning of the month or from the beginning of the year.

This class goes farther and instead of returning the number of days that passed, it can return a percentage of the number of days that passed relative the whole period that is considered, which can be one month or one year.

Manuel Lemos
Picture of Dannel
  Performance   Level  
Name: Dannel <contact>
Classes: 9 packages by
Country: Cuba Cuba
Age: 30
All time rank: 30438 in Cuba Cuba
Week rank: 411 Up1 in Cuba Cuba Up
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Plain text file datePercent.php Class Class and example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:136
This week:1
All time:9,258
This week:560Up