title: Extension file when called in not refreshing (swift3)
body: <p>I have code here that is printing out arrays. I have added a extension file to print out the time and date of each array entry. But the problem is that the extension file is not refreshing. So the date and time of the first array is the time and date that get printed on all of the arrays. I just want the date and time to match when the array is being printed. </p>
  
  <p><a href="https://i.stack.imgur.com/KyHKM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KyHKM.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/FDz17.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FDz17.png" alt="enter image description here"></a></p>
  
  <pre><code>    import UIKit
      class ViewController: UIViewController {
      @IBOutlet var entry: UILabel!
      var arrayOfInt = [Int]()
  
         @IBOutlet var label: UITextField!
  
      override func viewDidLoad() {
      super.viewDidLoad()
  
      }
  
      @IBAction func enterScore(_ sender: Any) {
  
      if let text = label.text {
          if let number = Int(text){
              arrayOfInt.insert(number, at: 0)
  
              entry.text = arrayOfInt.map { " \(Date.formattedNow) | \($0)" }.joined(separator:"\n\n")
  
              }}
  
          else {
          entry.text = "Please Enter Number"
  
          }}}
  
  extension Date {
  static var formattedNow: String = {
      let now = Date()
      let dateFormatter = DateFormatter()
      dateFormatter.dateFormat = "MM/dd/yyyy HH:mm:ss"
      dateFormatter.timeZone = TimeZone(identifier: "EST")
      return dateFormatter.string(from: now)
  }()}
  </code></pre>