2. Calculating Periodical Events in PHP Part 2: Solving a Real World Problem
Posted on: 2015-09-07
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.
More ... Post a comment See comments (0) Trackbacks (0)
Read this article to learn how to use the PHP Sweepstakes package to solve a real world example of the problem.
More ... Post a comment See comments (0) Trackbacks (0)
1. Calculating Periodical Events in PHP Part 1: The Problem Challenges
Posted on: 2015-08-31
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.
More ... Post a comment See comments (2) Trackbacks (0)
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.
More ... Post a comment See comments (2) Trackbacks (0)