Yarnell Posted May 17, 2023 Share Posted May 17, 2023 Hey all, just a quick question. Is the live_from column in the inventory table the date in which the product goes live? I see it uses a UNIX_TIMESTAMP() format. How would i make a unix timestamp with php's date function? thanks. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 17, 2023 Share Posted May 17, 2023 (edited) You would make a timestamp value using PHP's time() function. You would use the timestamp value as an argument in PHP's date() function to display a human-readable result. And, yes, the 'live-from' column is a product's date that, until up to that time, the product is not revealed to the customer. Edited May 17, 2023 by bsmither Quote Link to comment Share on other sites More sharing options...
Yarnell Posted May 17, 2023 Author Share Posted May 17, 2023 ahhh. ok. great... opposite of what I was thinking. thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.