Skip to main content
Solved

Making sure all datetime values have time before comparing


rtreecare
Contributor
Forum|alt.badge.img

I'm doing a change detection on a date field from 2 sources. One source always includes time even if they are "000000". The other source appears to be strip those 0's. How can I add the hours minutes seconds to the records that are missing them? Do I need to filter for the records missing time values before adding the 0's. I will attach an image with the "J_NotifyDate" column missing time if they are 0's

image

Best answer by dustin

So you are wanting to make all null values in the J_CompleteDate field = "000000"? If so, the NullAttributeMapper transformer will be helpful to you.

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

2 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • April 27, 2022

So you are wanting to make all null values in the J_CompleteDate field = "000000"? If so, the NullAttributeMapper transformer will be helpful to you.


rtreecare
Contributor
Forum|alt.badge.img
  • Author
  • Contributor
  • April 27, 2022

Thanks I think that will work!

image


Reply


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