add datetime to order database