I want to convert date to Persian date (jalali) in oracle Database is there any function?
You can use this statement:
select to_char(hiredate,'yyyy/mm/dd','nls_calendar=persian') from emp
hiredateis a date field, with this select is hiredatedisplayed in Persian
hiredate
If Oracle does not have its own function, you can write it yourself. The following site shows how to do this. The code is easily translated into PLSQL.
http://www.codeproject.com/Articles/13465/Jalali-Calendar