|
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
Navigation:
[Reply to this message]
|