Datetime Variables

The StreamSets expression language provides the following datetime variables for use in expressions:

  • ${YYYY()} - four digit year
  • ${YY()} - two digit year
  • ${MM()} - two digit month
  • ${DD()} - two digit date
  • ${hh()} - two digit hour
  • ${mm()} - two digit minute
  • ${ss()} - two digit second