Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Wrong result for 'nls_calendar=''arabic hijrah''' conversion

Content

Hi ,

 I have a problem when converting the sysdate with the use of 'nls_calendar=''arabic hijrah''' parameter as it returns difference in two days with the 'nls_calendar=''gregorian''' ?! 

Code Snippet

select 
to_char(sysdate,'day dd month yyyy','nls_calendar=''Arabic Hijrah'''),
to_char(sysdate,'day dd month yyyy','nls_calendar=''English Hijrah'''),
to_char(sysdate,'day dd month yyyy','nls_calendar=''gregorian''')
from dual

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!