Changed timestamp to use seconds