Reply to Re: Computing an expiration date

Your name:

Reply:


Posted by Benjamin on 07/10/07 12:38

On Jul 10, 7:20 am, dave <skny...@sccoast.net> wrote:
> I need to compute an expiration date based on the number of hours,
> days, or months purchased.
> The expiration date needs to be expressed in minutes something like
> '1260481600'.
>
> How can I get the current date and time expressed in minutes?
round(time()/100/60)
>
> Once I have this number I can add the number of minutes purchased to
> the current date/time to get the expiration date.
>
> Thanks,
> Dave

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация