Parse HDFD data and transform the date string(Scala)