In Scala, I am converting Date to Timestamp. I am currently doing this with:
val date = new java.util.Date()
new java.sql.Timestamp(new org.joda.time.DateTime(date).getMillis)
Is there a slicker way of doing this? Java-informed responses would also be relevant.