Moved the unix timestamp from the view to the controller