Fixes retrieve time issue
Merge pull request #506 from lukecampbell/retrieve_time

Fixes retrieve time issue