PHP Classes

PHP Sweepstakes package blog

Recommend this page to a friend!

Latest PHP Sweepstakes package blog posts

  All package blogs All package blogs   PHP Sweepstakes PHP Sweepstakes   Blog PHP Sweepstakes package blog   Post article Post article  

2. Calculating Periodical Events in PHP Part 2: Solving a Real World Problem

Updated on: 2015-09-07

Posted on:

In the first part of this article it was covered the problem of computing the dates of periodical events and nuances that can make the solution more complicated.

Read this article to learn how to use the PHP Sweepstakes package to solve a real world example of the problem.


Blog More ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)

1. Calculating Periodical Events in PHP Part 1: The Problem Challenges

Updated on: 2015-08-31

Posted on:

Sometimes it is necessary to calculate the days of periodical events, like for instance sweepstakes, contests, regular publications, etc..

In general, it is an easy problem to solve. However when the events span multiple days and must not occur in holidays, the problem becomes less trival to solve.

Read this article to learn how you can use the PHP Sweepstakes class to compute the days of regular event taking in account these nuances that may complicate the calculations.


Blog More ...   Post a comment Post a comment   See comments See comments (2)   Trackbacks (0)


  All package blogs All package blogs   PHP Sweepstakes PHP Sweepstakes   Blog PHP Sweepstakes package blog   Post article Post article