PHP Classes
elePHPant
Icontem

Fortnight: Calculates the fortnight number of the year

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
2005-04-06 (11 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 167 All time: 8,066 This week: 1,120Up
Version License Categories
fortnight 1.0FreewareTime and Date
Description Author

This is a simple class to determine the fortnight number of a given date of the year.

The fortnight number is calculated based on the number of days since January 1st, and not only a simple checking if the date is between days 1 to 15 or 16 to 31 and then multiplying by the month number.

In (brazilian) portuguese:

Esta é uma classe simples para o calcular do número da quinzena do ano.

O cálculo da quinzena é feito a partir do número de dias transcorridos a partir de 1º de janeiro, e não simplesmente verificando se o dia está entre 1 e 15 ou 16 e 31 (quinzena 1 ou 2 do mês) multiplicado pelo número do mês.

Picture of Rafael Costa
Name: Rafael Costa <contact>
Classes: 1 package by
Country: Brazil Brazil

  Files folder image Files  
File Role Description
Plain text file fortnight.class.php Class Base class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:167
This week:0
All time:8,066
This week:1,120Up