Add getTimeOffset function to library.