Timestamps should be in seconds