back to forum.

Topic: Transformers

Topic by
asbjorn

2011-06-23
07:24

Transformers

Hi
I have an datetime attribyte which is stored as a numeric format. E.g 2000/01/06 is converted to 106

I have try to create a transformer with the standard components with out any luck. I need to cast my integer to a string, Lpad it to 6, and thereafter apply a date mask.

Is it posible to this with the date/time transformer in one step. Or do i need to write some javascript

Reply by
kasper

2011-06-23
08:22
I would use the "Extract date part" transformer to extract the month and day of month. Then I would concatenate these two using a Concatenator transformer.

You need to be logged in to participate

In order to post your own comments on this topic, you need to be logged in.

Username:

Log in by clicking the login link at the top of the screen

 

Go back to forum.