PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2020-01-12 (1 month ago) RSS 2.0 feedNot enough user ratingsTotal: 110 This week: 4All time: 9,190 This week: 87Up
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
Nominee
Vote
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
  Performance   Level  
Name: Dannel <contact>
Classes: 6 packages by
Country: Cuba Cuba
Age: 26
All time rank: 354610 in Cuba Cuba
Week rank: 7 Up1 in Cuba Cuba Up
Innovation award
Innovation award
Nominee: 4x

 

  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:110
This week:4
All time:9,190
This week:87Up