write time to buy