Hello,
Is there a way to take the last updated time from a dataset and subtract it from the current time in order to display time since last updated?
Page in question: networkedlink.com/dining/bolton
Thanks!
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Hi dreagency,
In the database, you have the a field called 'Last Updated' (hidden by default):
See 'wix-data' API to find out how to get the data sorted, then, you can sort according to 'Last Updated' and get the last time a recored has be updated.
Now, use Javascript Date() to get the current time, subtract, and you're done :)
Liran.