-
Re: How can I fetch the current timestamp of server using API?
ryanrutan Aug 11, 2015 10:24 AM (in response to james_jithin)James,
Could you clarify your ask? There isn’t a time API per say, but I’m sure you could glean something from one of the API calls. In short, I’m not quite sure why you need to know this. You should be able to pass a full ISO date (relative to your time) and Jive will auto-convert it to match the server and process accordingly.
Could you provide some use-cases/services that you are trying to use in this regard? Perhaps that could help clarify?
RR
-
Re: How can I fetch the current timestamp of server using API?
james_jithin Aug 11, 2015 10:48 AM (in response to ryanrutan)In my scenario, I give an option for the user to start tracking all users created from now. Later, might be after few days, when user wants to see the users created after the checkpoint, I would need to query with date.
-
Re: How can I fetch the current timestamp of server using API?
ryanrutan Aug 11, 2015 10:53 AM (in response to james_jithin)As long as you capture the timestamp of “now” in full ISO format … (inclusive of date/time/zone, etc..) you should be able to pass it into the service. In theory all Jive servers run near their assigned time servers … which means that as long as your computer’s clock is synced in some fashion as well…you should be fine.
Again, just trying to provide the simplest option for you, not seeing the need to know the exact server time … unless you are needing to deal with temporal shift/drag for an Oauth validation window or something.
RR
-
-