Page 1 of 1

Date type conversion

Posted: Wed Sep 15, 2010 4:37 am
by vasam
How do i convert date 2010-May-12 to 12-05-10?

I am using Parallel extender.

Any suggesion pls?

Posted: Wed Sep 15, 2010 6:34 am
by chulett
StringToDate() followed by DateToString() using an appropriate format mask in both cases. Don't have access to my reference materials but off the top of my pointy little head, %yyyy-%mmm-%dd and %yy-%mm-%dd respectively?

Posted: Wed Sep 15, 2010 7:58 am
by routhu
chulett wrote:StringToDate() followed by DateToString() using an appropriate format mask in both cases. Don't have access to my reference materials but off the top of my pointy little head, %yyyy-%mmm-%dd and %yy-%mm-%dd respectively?

criag,

we can do the same using oconv and iconv functions too rite??

Posted: Wed Sep 15, 2010 8:03 am
by priyadarshikunal
As OP is using enterprise edition, iconv and oconv is not recomended (however can be used in a basic transformer). Craig has suggested the appropriate solution.