|
Posted by Captain Paralytic on 07/10/07 12:38
On 10 Jul, 13:20, 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?
>
> 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
divide the unixtime by 60
Navigation:
[Reply to this message]
|