HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityLog In

getCurrentTime

Queries the current Optimizely Campaign server time in Optimizely Campaign.

This is useful for synchronizing the export of statistical response data.

Type: long

Parameters

NameTypeValue
sessionIdStringID of the session

Return values

The current Optimizely Campaign server time in milliseconds

Code structure

long getCurrentTime(String sessionId)

What’s Next
Did this page help you?