Calculate days
I think the topic title says it all. I'm trying to find a way to calculate days before the the plugin prune the vault file.
Here is my code: PHP Code:
|
Re: Calculate days
Code:
|
Re: Calculate days
Code:
iDays_until_FutureDate = (iFutureDateTimestamp - iNowDateTimestamp) / 86400 |
Re: Calculate days
Oh, thank you it's working but not the how I want. The plugin calculates the day's when will prune the vault file, and not how many day's remaing to prune.
e.g Created on: 11/05/2011 Prune on: 21/05/2011 Current day: 15/05/2011 Days remaing before pruning: 6 |
Re: Calculate days
Code:
|
Re: Calculate days
Guess s/he didn't feel like reading my post . . .
|
| All times are GMT -4. The time now is 19:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.