Skip to main content
Solved

Convert datetime to string?


Hey,

If I have a datetime, I'm wondering how I could convert it to a string.

Best answer by erik_jan

The DateFormatter (2017) or DateTimeConverter (2018) transformer can be useful to format the Date into almost any kind of string.

View original
Did this help you find an answer to your question?

2 replies

philippeb
Enthusiast
Forum|alt.badge.img+18
  • Enthusiast
  • May 29, 2018

Into your writer choose attribute type = string or char


erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • May 29, 2018

The DateFormatter (2017) or DateTimeConverter (2018) transformer can be useful to format the Date into almost any kind of string.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings