Skip to main content
Question

Date Conversions in Data Collector

  • August 26, 2022
  • 1 reply
  • 178 views

Priyabala
Roadie

Getting date (YYYY-MM-DD) in a string field from source, need to convert into date type of format(DD/MM/YYYY).

Tried Fieldtype converter, but of no use.

Any suggestions?

1 reply

antmcmullen
StreamSets Employee
  • StreamSets Employee
  • 16 replies
  • August 26, 2022

Try using an Expression Evaluator
${time:extractStringFromDate(record:value("/date"),'dd/MM/YYYY')}