Set inventory item time by referencing storefront time

Discussion in 'PHP' started by ndjustin20, Apr 18, 2008.

  1. #1
    Greetings!

    I was wondering if someone would either know or might be able to point me in the right direction. I have scoured the internet, and this site, and can't seem to find any examples of setting the time for an inventoried item against the time of the storefront. Here is my problem: I currently can set a storefront to have a time based on where the storefront is located which is cross referenced by time zones ie. eastern, central, ect. What I would like to do now is do the same thing with my inventory so say I have a bicycle listed and want it only to be available for purchase from 12 noon until 3pm so it will start to be shown at 12 noon and stop being shown at 3pm. How would I achieve this by referencing the storefront time and not the server time as this wouldn't accurately reflect the storefront time ie. plus or minus server time depending on time zone loacation?

    Any recommendations at all are greatly appreciated.


    Justin
     
    ndjustin20, Apr 18, 2008 IP