Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

The Year field with value '2023-05-12' in '2023-05-12 18:09:07.825146' is too long

Avatar

Level 6

I don't have a column Year on my data, but I think it is taken the year from my column: "date_creation". 

How can I remove the miliseconds from my column "date_creation" to avoid this warnings? Or Should I fix this in the source of the data? I get a csv file to upload to campaign.

ogonzalesdiaz_0-1695328283324.png

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @god_prophet ,

For the date_creation column, in data loading activity configure the date+time format as below,

ParthaSarathy_0-1695351931774.png

Run the workflow and check. Or If you are able to change the values in input file, you can handle there. 

 

Or else you can try below approach as well,

In data Loading activity, instead of defining it as date+time, define it as 'string'.

Connect data loading transition with enrichment activity.

ParthaSarathy_1-1695352138599.png

 

Enrichmet:

Add data > add an output column in it with below expression,

 

ToDateTime(date_creation)

 

ParthaSarathy_2-1695352238908.png

 

Now the new field created in enrichment, will remove the millisecond.

ParthaSarathy_3-1695352416836.png

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @god_prophet ,

For the date_creation column, in data loading activity configure the date+time format as below,

ParthaSarathy_0-1695351931774.png

Run the workflow and check. Or If you are able to change the values in input file, you can handle there. 

 

Or else you can try below approach as well,

In data Loading activity, instead of defining it as date+time, define it as 'string'.

Connect data loading transition with enrichment activity.

ParthaSarathy_1-1695352138599.png

 

Enrichmet:

Add data > add an output column in it with below expression,

 

ToDateTime(date_creation)

 

ParthaSarathy_2-1695352238908.png

 

Now the new field created in enrichment, will remove the millisecond.

ParthaSarathy_3-1695352416836.png

Avatar

Level 6

Hi @ParthaSarathy , how do you get to this screen? 

ogonzalesdiaz_1-1698256112289.png

 

 

Avatar

Community Advisor

@god_prophet ,

Data Loading activity > Click here to change the file format > double click your date column or select your date field  and click details button on the right side.

ParthaSarathy_0-1698300373647.png