Arabic Date Format

Hi All
i need to display the date in arabic NLS_LANG is (AMERICAN_AMERICA.AR8MSWIN1256)
and i tried to make it (ARABIC_UNITED ARAB EMIRATES.AR8MSWIN1256)
But is not working
pls i need help

Hi everybody
waffa ... I think you need to do the following:-
inside oracle key add new (string value) and name it (nls_calendar) and put this value(arabic hijrah) inside nls_calendar ..
2-open sql plus and try with
select to_char(sysdate,'yyyy-mm-dd') from dual
will I hope this useful for you ...
                    Mohammed Al-shake

Similar Messages

  • Date Format in Arabic

    Hi Everyone,
    I have problem in inserting date format into a table where together with Arabic data like 'Arabic Data'||to_date(,'DD/MM/YYYY');
    it is showing Mar-10-03 (Month-Year-day) instead of DD/MM/YYYY.
    I would appreciate your help.

    [email protected] wrote:
    Hi Everyone,
    I have problem in inserting date format into a table where together with Arabic data like 'Arabic Data'||to_date(,'DD/MM/YYYY');
    it is showing Mar-10-03 (Month-Year-day) instead of DD/MM/YYYY.
    I would appreciate your help.
    AhonChange to this
      'Arabic Data'||to_char(,'DD/MM/RRRR');

  • How to show arabic data in to crystal reports ?How to aligh crystal report right to left

    <p>we are trying to make a crystal report for both english and arabic..All the arabic data is stored in data base tables.And for arabic screens we need tables and datas come right to left.. </p><p>1)How can we get the arabic data and right to left alignment in crystal reports? </p><p>2)Is thee any direct method to change the report alignments? </p><p>can u please send some sample codes. </p><p>we are using java version= 1.5 </p><p>database using =Oracle 9i </p><p>char set we are using for arabic= CP1256</p><p> Tomcat using=4.1 </p><p>we are using Crystal Reports11 </p><p>We are not having seperate rpt files for reports. we are making each Sections and adding this sections to FieldObjet to make the report dynamically. A sample Employee report in english is attached..Can u instruct how can i get this report in arabic assuming all datas are stored in database. </p><p><br />import java.awt.BorderLayout;<br />import javax.swing.JFrame;<br />import com.crystaldecisions.ReportViewer.ReportViewerBean;<br />import com.crystaldecisions.sdk.framework.CrystalEnterprise;<br />import com.crystaldecisions.sdk.framework.IEnterpriseSession;<br />import com.crystaldecisions.sdk.occa.managedreports.IReportAppFactory;<br />import;<br />import;<br />import;<br />import;<br />import;<br />import;<br />public class ReportSample {<br /> ReportClientDocument rptDoc=null;<br /> int fldTop=0;<br /> int fldWidth=1440;<br /> int fldHeight=400;<br /> int pageWidth=11500;<br /> ReportSample(){<br />  try{<br />   IEnterpriseSession oEnterpriseSession= CrystalEnterprise.getSessionMgr().logon("Administrator", "","zzzza","secEnterprise");<br />   IReportAppFactory oReportAppFactory = (IReportAppFactory)oEnterpriseSession.getService("", "RASReportService");<br />   rptDoc = oReportAppFactory.newDocument(java.util.Locale.ENGLISH);<br />   Table oTable = new Table();<br />   oTable.setConnectionInfo(getConnectionInfo("zzzzz","zzzz","zzz", "zzz"));//Connectin to oracle database<br />   oTable.setName("EMP1");<br />   rptDoc.getDatabaseController().addTable(oTable, null);<br />         String[] columnName={"EMPNAME"};<br />       Section dtlSection=(Section) rptDoc.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0);<br />   int fldLeft=100;<br />   for (int i=0;i<columnName.length;i+)<br />   {<br />    <br />    dtlSection= (Section) rptDoc.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0);<br />     try{<br />     FieldValueType fldValueType = FieldValueType.stringField;<br />     String javaDataType="String";<br />      add_db_field(<br />      dtlSection, <br />     oTable.getName()"."columnName<i>, <br />     fldValueType,javaDataType,<br />     fldLeft, fldTop, fldWidth, fldHeight);<br />     }catch(Exception e){<br />      e.printStackTrace();<br />     }<br />    fldLeft = fldLeftfldWidth;<br />   }<br />   <br />       <br />   try { <br />          //Create and set up the window.<br />          JFrame frame = new JFrame("ReportsViewer");<br />          frame.setTitle( "Crystal Reports Viewer");<br />          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);<br />          ReportViewerBean viewer = new ReportViewerBean();<br />          viewer.init( new String[0], null, null, null);<br />          IReportSource rptSource = rptDoc.getReportSource();<br />          viewer.setReportSource( rptSource );<br />          frame.getContentPane().add( viewer, BorderLayout.CENTER );<br />          frame.setSize( 700, 500 );<br />          frame.setVisible(true);<br />          viewer.start();<br />   }catch(Exception e)<br />    {<br />     e.printStackTrace();<br />    }</p><p>   }catch(Exception e)<br />   {<br />    e.printStackTrace();<br />   }<br /> }<br /> public ReportObject add_db_field(Section oSection, String field_name, <br />   FieldValueType oFieldValueType,String fldDataType,<br />   double x, double y, double w, double h)<br /> throws ReportSDKException<br /> {<br />  DBField oDBField = new DBField();<br />  oDBField.setName(field_name);<br />  oDBField.setType(oFieldValueType);<br />  FieldObject oFieldObject = new FieldObject();<br />  oFieldObject.setDataSource(oDBField.getFormulaForm());<br />  oFieldObject.setFieldValueType(oDBField.getType());<br />  IndentAndSpacingFormat indentSpacing = new IndentAndSpacingFormat();<br />  IStringFieldFormat stringFieldFormat = oFieldObject.getFieldFormat().getStringFormat();<br />  stringFieldFormat.setIndentAndSpacingFormat(indentSpacing);<br />  oFieldObject.getFieldFormat().setStringFormat(stringFieldFormat);<br />  rptDoc.getReportDefController().getReportObjectController().add(oFieldObject, oSection, -1);<br />  return oFieldObject;<br /> }<br />  public ConnectionInfo getConnectionInfo (String new_username, String new_password, String new_dsn, String new_database)<br /> {<br />  <br />      ConnectionInfo oConnectionInfo = new ConnectionInfo(); // Make a copy, don&#39;t change the original.<br />      PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();<br />      oPropertyBag1.put("QE_ServerDescription", new_database);<br />   oPropertyBag1.put("Database DLL", "crdb_oracle.dll" );<br />   oPropertyBag1.put("DSN", new_dsn);<br />   // Set new table logon properties attributes<br />   PropertyBag oPropertyBag2 = new PropertyBag();<br />   oPropertyBag2.put("Server", new_database);<br />   oPropertyBag1.put("QE_LogonProperties", oPropertyBag2);<br />   oConnectionInfo.setAttributes(oPropertyBag1);<br />   oConnectionInfo.setUserName(new_username);<br />   oConnectionInfo.setPassword(new_password);<br />   // The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).<br />   oConnectionInfo.setKind(ConnectionInfoKind.CRQE);<br />   return oConnectionInfo;</p><p>  }<br /> public static void main(String[] args) {<br />  // TODO Auto-generated method stub<br />  new ReportSample();<br />  //String cmsName = "admin-42cdvir7e(2)";<br />  <br />  <br />  <br /> }<br /> </p><p>}<br /></p>

    <p>This issue can be  solved when you create the reports without needing to write any extra code.  I haven&#39;t tested this solution because I don&#39;t have any data to test it against.</p><p>First you want to make sure that you are using a UNICODE font which I&#39;m sure you are probably already doing.  Then to configure the "Right to Left" you can right click on any field and select "Format Text" or "Format Field".  You should see a "Paragraph" tab.  In there you can set the content to be "Left to Right" or "Right to Left".  The button on the right allows you to make this setting conditional on a parameter value or something like that.  I hope this helps. </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog -</a></p>

  • How to Load Arabic Data from flat file using SQL Loader ?

    Hi All,
    We need to load Arabic data from an xls file to Oracle database, Request you to provide a very good note/step to achieve the same.
    Below are the database parameters used
    nls_language american
    DB version:-10g release 2
    OS: rhel 5
    Thanks in advance,

    Try to save your XLS file into CSV format and set either NLS_LANG to the right value or use SQL*Loader control file parameter CHARACTERSET.

  • Report 6i Arabic Date alignment problem in Windows 7

    We have 6i Forms and Report and wanna run in windows 7. But we found arabic Date disaplay problem in reports. As you know arabic writting from right. But date display like 21/10/1431 and I wanna like 1431/10//21.
    I tried from regional setting and change date format from report. but this is problem from system it self,
    not accept right alignment. Even I install left to right patch (KB979643-x86).
    Please Help

    Like others have said you need to run the bootcamp installer to install the drivers.
    The time issue was a constant annoyance rebooting with OSX and my old XP bootcamp setup but it's gone with Windows 7 once you set your time to UTC format in the date and time properties instead of local time which OSX uses and XP couldn't support.

  • Date format Problem in forms&reports Services 10g

    Hi Dears,
    I Faced a problem during running reports ( i am using forms& Reports Services 10g), when i pass the parameters via parameter form to the report (built in forms10g Rel 2.0) its appearing in arabic like (25-يناير-2010) as my Date Formate is (DD-YYYY-MON) and NLS_LANG parameter is defined as Arabic_Saudi arabia.AR8MSWIN1256 so as a result report is not running due to unknown Date formate, how can i change the Same Date format (DD-YYYY-MON) to appear in english like (25-2010-JAN)

    You could specify the parameter as type VARCHAR2, explicitly cast it (maybe to DD.MM.YYYY) when you pass it from forms and cast it back in your query, like TO_DATE(:P_PARAM, 'DD.MM.YYYY')

  • How i can change the arabic date and time mode to english date and time mode

    how i can change the arabic date and time mode to english number mode

    Settings app > General > International > Region format.

  • Arabic data shows Invalid characters

    Arabic data is stored in 9i database having US7ASCII character set. Our vendor application is displaying data in arabic correctly but when we try to query data then we are getting characters like
    mMml aaEa_JQfdmGJ

    I have tried to display data in ASP, SQLPLUS, SQL Developer & SQL Navigator. All of them are showing invalid except SQL Developer which is showing boxes.
    I am only querying the data that is already present in database and vendor's application displaying correctly.
    I tried with changed NLS_LANG but it did'nt works.
    When I ask the application vendor, they replied me:
    "Arabic Data can be viewed in Multibyte telnet clients like Putty, if UTF-8 text encoding is enabled, both in the client and Oracle. The character encoding should be set to UTF-8 only during download of data and then this can be viewed in the telnet client.
    Normal single byte telnet clients cannot encode the same, and the arabic data will be shown as Junk characters. Else, the same can be spooled into a text file, opened in MS-Word with the character encoding set as UTF-8 format."
    I have to generate report for wondows client.

  • .CSV not supporting Arabic data

    Hi Gurus,
    My issue is as follows :
    I got the arabic data in Excel 2003 in .xls format ( from client) . When I am trying to save the same data in .csv format in Excel2003 ( for SQL Loader) , it is not supporting to saving the arabic data. Its saving the arabic data as ???? in .csv file . How to overcome this issue and what setings are requried.
    Its a urgent problem i am facing . Pls help me to resolve this issue.
    Thanks in advance

    Hi ,
    Thanks for your reply , but sorry I couldnt see as I was on a long vacation. I have followed your steps and it is resolved now.
    I am facing a new challenge now , How to format the arabic font in control file. I have to upload Arabic data to staging table by using Sql * Loder. Pls can you point to some script for loading the arabic data from .csv file to staging table.
    Thanks in advance,

  • Arabic data export to PDF from Business Object 6.5

    I have Arabic data in oracle 10g database.
    In Business Objects 6.5 report, am able to see the Arabic data as well.
    When I save the BO report as PDF, the report data in arabic appears as ?????
    I serached all the documentation and scoured the web, but could not get much info.
    How can I get to display the Arabic data in PDF format as well?

    PDF uses its proprietary fonts to generate and display the text and it displays ???? for the character which its unable to interpret from the available fonts directory. You may need to buy some language plugins from Acrobat and integrate it with you Reports Server, to enable your PDF to display Arabic Character. I had a similar problem with Barcodes dislay in PDF.

  • Aired Date - US date format only?

    Is there a way of showing +Aired Date+ in a date format other than the US one?
    US date formats are very confusing and catch you out if you are used to the eminently more sensible DD/MM/YYYY format.
    This is particularly annoying when tagging content for the Apple TV with Meta X or Subler, as you have to remember to put the first to two parts of the date in backwards.
    I've never understood the US date format as it doesn't flow properly - ie. smallest/bigger/biggest -(the US one is oddly bigger/smallest/biggest)!

    {quote:title=Chenks wrote:}
    out of interest, how many countries other than UK use the "UK format" for dates? it's probably the UK that is being different to everyone else (just like driving on the left)?{quote}
    FYI here is a list of countries using DD/MM/YY formatting for dates:
    Austria (using dots (which denote ordinal numbering)
    Costa Rica
    Czech Republic
    Dominican Republic
    El Salvador
    Germany (using dots (which denote ordinal numbering)
    Hong Kong (in English)
    India ( in Bengali; dd-mm-yyyy in Gujarati, Hindi, Marathi, Punjabi, Tamil; d-m-yyyy in Telugu, no leading zeroes used)
    Iraq (dd/mm/yyyy)
    Ireland (dd-mm-yyyy)
    Israel (dd/mm/yyyy)
    Kazakhstan (
    Kenya (dd/mm/yyyy)
    Kyrgyzstan (
    Luxembourg(dd/mm/yyyy in French, d.m.yyyy in German)
    Macau (in Portuguese & English)
    Macedonia (
    Montenegro (d.m.yyyy)
    Netherlands (using hyphens as in “dd-mm-(yy) yy”, very often "d month (yy)yy")
    New Zealand
    Norway (d.m.y; the fraction form d/m-y is common, but incorrect)
    Pakistan (dd/mm/(yy)yy)
    Philippines (in Filipino)
    Poland (, often with dots as separators; more official is d <month in genitive> yyyy, or, less frequently, d <month in Roman numerals> yyyy)
    Romania (
    Russia (
    Saint Kitts and Nevis
    Saint Lucia
    Saint Vincent and the Grenadines
    Saudi Arabia (dd/mm/yyyy in Islamic and Gregorian calendar systems, except for major companies, which conventionally use the American mm/dd/yyyy format)
    Serbia (d.m.yyyy)
    Singapore (English)
    Slovakia (d.m.yyyy, some use of dd-mm-yyyy)
    Slovenia (d.m.yyyy or d. mmmm yyyy)
    Sri Lanka
    Sweden (as d/m yyyy, although the yyyy-mm-dd form is more common and the national standard.)
    Switzerland (
    Tajikistan (
    Thailand (with Buddhist Era years instead of Common Era)
    Trinidad and Tobago
    Turkmenistan (
    Ukraine (; some cases of dd/mm/yyyy
    United Arab Emirates
    United Kingdom - YAY!
    Uzbekistan ( Cyrillic, dd/mm yyyy Latin)
    Here is a list of countries that use MM/DD/YY:
    Canada (Although most official government documents use the yyyy-mm-dd format, the mm/dd/yy format is also understood due to influences from the United States.)
    Federated States of Micronesia
    Philippines (when written in English)
    United States (civilian vernacular: mm/dd/yy or mm/dd/yyyy; other formats, including dd Month yyyy and yyyy-mm-dd, are common or prescribed—particularly in military, academic, scientific, computing, industrial, or governmental contexts.)
    I always find it interesting just how the US proscribe something as being a 'Standard' when what they really mean is that it is way the US does it. In the same way as English is referred to as 'International English' and American English is just called English by American corporations
    Message was edited by: Easybourne

  • Oracle Driver For Arabic Data

    hi all,
    My problem is, in my oracle UI, i can write an insert statement and enter arabic data into my oracle database. But if i try to execute the same SQL statement from VB, the data goes all corrupted, and i cannot retrieve the arabic data in arabic format from the database. Am trying to find out, what driver i shud use so that i can update and retrieve arabic data from my database. When i give a select statement in oracle the data appears as ??????????. Please help.
    Thankx in advance
    Vinod Cherian

    Vinod ,
    Try setting the following custom command property for the provider.
    myCommand.Properties("NDatatype") = True.
    Also set the font of the text field in which you are taking the input
    to Tahoma or some font supporting unicode.

  • Loading date format (Hijra)

    Hi all,
    We have a Date field which is in the format YYMMDD (Hijra).
    Can anyone tell us how to load the specific field by SQL* Loader (setting the NLS Parameters).
    Our database is in Western European Character set.
    Do we need to change the Character set in order to load the above date format.
    Thanks in advance,

    NLS_CALENDAR='English Hijrah'
    NLS_CALENDAR='Arabic Hijrah'
    [These can be set as environmental variables from the sqlldr session]
    For more information see:
    Oracle® Database Globalization Support Guide
    10g Release 1 (10.1)
    Part Number B10749-02
    I hope this is helpful,
    Oracle Migration Workbench Team

  • Problem with Date formatting

    Hi Tim,
    I am facing some issues with formatting the date using XMLP. The following is the sample XML data file i am using:
    <QUOTE_NAME>Test GM Report - Rabindra</QUOTE_NAME>
    <SOURCE_NAME>Fletcher, MR. Paul</SOURCE_NAME>
    The formatting i use for my date field i.e <QUOTE_DATE>, ends up either with NO formatting or giving me an error "[010906_114656657][][ERROR] Invalid XSD string: 27-OCT-2005 (XMLP Template Viewer)". The default formatting available with the form field dialog box (MS-Word) feature also doesn't work.
    I have the following formatting for this field in the form field:
    <?format-date:QUOTE_DATE; 'MEDIUM' ?>
    When i read the user guide, it reads that the date should be in the canonical format i.e: YYY-MM-DDThh:mm:ss+HH:MM
    However i am not getting the date from the base table's in this format. Is the error happening due to incorrect format or is there some other reason behind this? Please let me know, how can i overcome this issue.

    As i mentioned in another thread
    substring function and date format
    Please use this standards
    for extended SQL functions or
    for extended XSL functions.
    Use like
    <?xdofx:rpad(LAST_NAME),30, ’x’)?>
    <?xdofx:lower (char)?>
    <?xdofx:greatest ( expr [, expr]... )?>

  • How can we give the Data Format (File Type ) in Runtime

    Hi all,
    How can we give the Data Format (File Type ) in Runtime for the following method,
    Thanks in advance

    There is a filetype parameter which you can set
    CALL METHOD cl_gui_frontend_services=>gui_download
    *    BIN_FILESIZE              =
        filename                  =
    *    FILETYPE                  = 'ASC'
    *    APPEND                    = SPACE
    *    HEADER                    = '00'
    *    WRITE_LF                  = 'X'
    *    COL_SELECT                = SPACE
    *    COL_SELECT_MASK           = SPACE
    *    DAT_MODE                  = SPACE
    *    CONFIRM_OVERWRITE         = SPACE
    *    NO_AUTH_CHECK             = SPACE
    *    CODEPAGE                  = SPACE
    *    IGNORE_CERR               = ABAP_TRUE
    *    REPLACEMENT               = '#'
    *    WRITE_BOM                 = SPACE
    *    FILELENGTH                =
        data_tab                  =
    *    FILE_WRITE_ERROR          = 1
    *    NO_BATCH                  = 2
    *    INVALID_TYPE              = 4
    *    NO_AUTHORITY              = 5
    *    UNKNOWN_ERROR             = 6
    *    HEADER_NOT_ALLOWED        = 7
    *    SEPARATOR_NOT_ALLOWED     = 8
    *    FILESIZE_NOT_ALLOWED      = 9
    *    HEADER_TOO_LONG           = 10
    *    DP_ERROR_CREATE           = 11
    *    DP_ERROR_SEND             = 12
    *    DP_ERROR_WRITE            = 13
    *    UNKNOWN_DP_ERROR          = 14
    *    ACCESS_DENIED             = 15
    *    DP_OUT_OF_MEMORY          = 16
    *    DISK_FULL                 = 17
    *    DP_TIMEOUT                = 18
    *    FILE_NOT_FOUND            = 19
    *    CONTROL_FLUSH_ERROR       = 21
    *    NOT_SUPPORTED_BY_GUI      = 22
    *    ERROR_NO_GUI              = 23
    *    others                    = 24

Maybe you are looking for