Link to home
Start Free TrialLog in
Avatar of tafadzwa02
tafadzwa02

asked on

how do i convert a date type ddmmyy to ccyy-mm-dd

I am tyring to convert date type in informatica from DDMMYY TO ccyy-mm-dd . its urgent can you plase help.

Thank you
Avatar of simonpaul64
simonpaul64

to_char(your_dt,'ccyy-mm-dd');
 

haven't got access to test the cc yet - so go with

to_char(your_dt,'yyyy-mm-dd')

put a to_date round that if you need it back in date format for any reason.

ASKER CERTIFIED SOLUTION
Avatar of Naveen Kumar
Naveen Kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Good and thanks.