Exact time of expiration?

Discussion in 'Customization & add-ons' started by jpflix, May 14, 2011.

  1. jpflix

    jpflix New Member

    Joined:
    Dec 16, 2010
    Messages:
    10
    I have a question (and possibly a follow-up question) regarding the expiration date. They may be silly and perhaps already answered somewhere in the forum ( - I was unable to find the answer), but here goes:

    Question: When does a product expire exactly?

    e.g. If the period is "05/12/2011 - 05/15/2011", does the product expire at:
    a) 00:00 on 5/15
    b) 23:59 on 5/15
    c) or the same time as the purchase time on 5/15?
    d) other

    Follow-up Q: If the answer is not c), is it possible to make amembers behave like so?

    Thank you all for taking the time to read this question!
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    (b) 23:59 on 5/15

    One issue you would run into in doing (c) is that would require constant cron runs.. certainly a customization could be made to accomplish it, but I would not suggest it personally.
  3. jpflix

    jpflix New Member

    Joined:
    Dec 16, 2010
    Messages:
    10
    Thank you for the reply!

    Also, I realized I have another two follow-up questions:

    1. When does the subscription start?

    e.g., If it says 5/12/2011-5/15/2011, does the subscription start immediately after the purchase or from the 13th? The reason I ask is, the product I have is intended to last for 3 days. However, the period amembers assigns is 12th-15th (end of day), which is actually 4 days.

    2. How does amember handle different time zones?
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    It uses the timezone set on the server.

    It starts on the day they order/pay. So if they order/pay at 11:50 pm on 5/12 then 5/12 is day 0. 5/13 day 1, 5/14 day 2, 5/15 day 3, for a total of 4 days.

    This is how you number your email sequence and incremental content too.

    David

Share This Page