title: Transforming dates in tensorflow or tensorflow extended
body: <p>I am working with Tensorflow Extended, preprocessing data and among this data are date values (e.g. values of the form 16-04-2019). I need to apply some preprocessing to this, like the difference between two dates and extracting the day, month and year from it.</p>
  
  <p>For example, I could need to have the difference in days between 01-04-2019 and 16-04-2019, but this difference could also span days, months or years.</p>
  
  <p>Now, just using Python scripts this is easy to do, but I am wondering if it is also possible to do this with Tensorflow? It's important for my use case to do this within Tensorflow, because the transform needs to be done in the graph format so that I can serve the model with the transformations inside the pipeline.</p>
  
  <p>I am using Tensorflow 1.13.1, Tensorflow Extended and Python 2.7 for this.</p>