Skip to main content
Solved

Making sure all datetime values have time before comparing

  • April 27, 2022
  • 2 replies
  • 32 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • 627 replies
  • 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
  • 15 replies
  • April 27, 2022

Thanks I think that will work!

image