Page 1 of 1

Date from Timestamp

Posted: Fri Sep 09, 2011 3:35 am
by Devendrudu
Hi,

How to get Date from Timestamp in Transformer.


please let me give your suggestions.

Posted: Fri Sep 09, 2011 3:58 am
by arvind_ds
Try this one.

date_from_timestamp(EnterYourTimeStampFieldHere)

Posted: Fri Sep 09, 2011 4:03 am
by arvind_ds
Also try TimestampToDate function

Posted: Fri Sep 09, 2011 5:25 am
by Devendrudu
arvind_ds wrote:Try this one.

date_from_timestamp(EnterYourTimeStampFieldHere)
Hi arvind,

where is date_from_timestamp in transformer functions.

Posted: Fri Sep 09, 2011 5:27 am
by arvind_ds
use TimestampToDate function in transformer.You can find it under Functions --> Type conversion.....

Posted: Fri Sep 09, 2011 6:55 am
by ray.wurlod
date_from_timestamp() is a Modify stage function, not a Transformer stage function.

Posted: Fri Sep 09, 2011 7:38 am
by chulett
You can always tell the difference:

NiceLittleTransformerFunction()

nice_little_modify_function()

Posted: Fri Sep 09, 2011 2:52 pm
by ray.wurlod
You can always tell the difference for data type conversion functions:
To
from

Posted: Fri Sep 09, 2011 3:43 pm
by chulett
That, too! :D