
| Looping in Time |
|
|
|
|
The other day I was working on a time sheet application that I was looping through a Unix time stamp for a defined number of days. For this project I was working with the number of seconds between days and just incrementing the value by the total number of seconds in a day like: //$startDay is a Unix time stamp of the start of my loop The other day I was working on a time sheet application that I was looping through a Unix time stamp for a defined number of days. For this project I was working with the number of seconds between days and just incrementing the value by the total number of seconds in a day like: //$startDay is a Unix time stamp of the start of my loop |