Quantcast
Channel: MirrorSync by 360Works Latest Topics
Viewing all articles
Browse latest Browse all 492

Best practice for retrieving the last sync timestamp

$
0
0

What is the best practice for retrieving the last sync timestamp?  I want GO users to be aware of how much time has elapsed since their last sync as a reminder to sync often.  I know the timestamp lives on the MirrorSync table, but I would have to make a new occurrence of the MirrorSync table and relate it to all the tables that have layouts that contain the timestamp which seems awkward.  

If I can get a timestamp of the last sync in a global field, I can run it through a custom function that outputs the time ago in words (e.g. 3 hours ago, or 5 minutes ago, etc.), and put it on my interfaces.


Viewing all articles
Browse latest Browse all 492

Trending Articles