PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Convert Date to Letters

edited Feb 13, 2020 11:17AM in PeopleTools and Lifecycle Management - PSFT (MOSC) 8 commentsAnswered

Hello!

I'm trying to take a field that store a date (Ej: 02/10/2020) and make it into letter (Ej: diez de febrero del dos mil veinte), and yes if you were wondering it got to be in spanish. I'm trying with this query

SELECT 

TRIM(TO_CHAR(SYSDATE, 'dd', 'NLS_DATE_LANGUAGE = SPANISH'))

|| ' de ' || TRIM(to_char(SYSDATE, 'Month' , 'NLS_DATE_LANGUAGE = SPANISH'))

|| ' de ' || TRIM(to_char(SYSDATE, 'yyyy' , 'NLS_DATE_LANGUAGE = SPANISH'))

FROM PS_TABLE

WHAT I GET IS: 10 DE FEBRERO DE 2020

If anyone have an idea on how can I do this, please help out.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center