I saw this code elsewhere too, maybe make a method for it? e.g.
```scala
def currentTimeFormatted: String = df.print((new Date).getTime)
````