Unparsable date "yyyy-MM-dd" in Windows Arabic OS

Hi Guys,
I have one problem. Plese help me regarding in this. I am not able to parse the date format like "yyyy-MM-dd" in Windows XP Arabic OS environment.
But the same thing is working fine in Windows XP English OS. I am using jdk version is j2sdk1.4.2_15. My sample program like below:
import java.text.*;
import java.util.*;
public class DatePro2{
public static void main(String[] args)throws Exception{
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
System.out.println(format.parse("2008-02-21"));
This is the exception i am getting java.text.ParseException: Unparseable date: "2008-02-21"
Is this the problem with JDK installed in Windows XP Arabic Operating System? or JDK Bug?. Please explain me clearly
Thanks in advance

sureshpatike wrote:
Please help anybody to me regarding the problem of date issue in arabic windows OS environment. problem description is on top. please help help...Construct the SimpleDateFormat for a Western Locale (England, France, USA etc) and make sure you specify the TimeZone for which the date applies.
Edited by: sabre150 on Feb 25, 2008 11:07 AM

Similar Messages

  • UNPARSABLE Date

    Hi i am using JDEV 11.1.1.3
    i have a rich input date in my form....
    i getting the value in my backing bean in string format
    String ProjStartDate = getId4().getValue().toString();
    getting value in this format
    "Sun Mar 06 00:00:00 IST 2011
    want 2 covert into java.util.date,i tried
    DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
    java.util.Date ConvProjStartDate = dateFormatset.parse(ProjStartDate);
    i tried different format also....
    but i am getting error as UNPARSABLE DATE
    please suggest me a solution
    Edited by: Venkat L Naidu on Mar 22, 2011 11:32 PM

    try this:
    SimpleDateFormat formatter=
    new SimpleDateFormat("MM-dd-yyyy");
    String strDate = formatter.format(this.id1.getValue());

  • Data Execution Protection option in Windows 2003

    Does anyone know if enabling the Data Execution Protection option in Windows 2003 will have any negative effect on a SAP system?

    well it is as Eric already mentioned:
    1st recommendation: Go for 64 Bit!
    2nd recommendation:
    decrease the user address space carefully if you have to.
    start with /userva=2900, if the problem still happens change /userva step by step to lower values each time evaluating wether the new value has fixed the situation.
    the problem with /userva is, that it shortens the virtual address space (addressable memory for normal applications). with /userva=2700 your application is able to address 2.7 GB of virtual memory, the remaining 1.3 GB can only be used in kernel mode (operating system, drivers etc). In this case (/userva=2700) your application (ABAP Report, other memory consuming programs) can only utilize 300 MB less memory compared to /userva not set.
    Those ABAP reports currently utilizing 95 percent of the available address space will no longer run when /userva is set to 2700.
    It is much less pain to run on 64 Bit OS - you don't have to play around with all these funny parameters.
    peter

  • Hi, How to change date pattern in project panel in order to sort media according to date YYYY-MM-DD and not MM/DD/YY ?

    Hi
    Question is in the title
    I have the list of media and when I add columns from "metadata panel to the project panel, all dates are MM/DD/YY format and sort is not relevant !!
    Where can I change this pattern to the right one ?
    Thanks
    Emmanuel

    If you are on a PC then the instructions shown here should work for you. They did for me.
    Change the display of dates, times, currency, and measurements - Windows Help
    You just need to quit out of Premiere Pro after making the change and then start it up again.

  • My external hard drive ejects when copying data. It works on windows and ubuntu. Are there any fixes?

    My external hard drive ejects when copying data. It works on windows and ubuntu. Are there any fixes?

    mine do the same thing... its one of the bugs from the 10.6.8 update

  • (Please note) - Report - Bluetooth with Enhanced Data Rate Software II for Windows 7 wipe main drive

    All,
    There have been reports that when upgrading the Bluetooth with Enhanced Data Rate Software II for Windows 7 to version 6.4.0.1700 is causing a wipe on the main OS drive (commonly C:\)
    Version:
    6.4.0.1700
    Release Date:
    2011/05/16
    Affected units which uses this version of driver are as follows.
    Support models ThinkPad L420, L421
    ThinkPad L520
    ThinkPad T420, T420i, T420s, T420si
    ThinkPad T520, T520i
    Thinkpad W520
    ThinkPad X1
    ThinkPad X220, X220i, X220 Tablet, X220i Tablet
    ThinkPad Edge E220s
    ThinkPad Edge E420, E420s
    ThinkPad Edge E520
    Issue has been raised to engineering and the team are currently working on it.
    ****Please do not update the Bluetooth driver until further notice****
    We are in a process of pulling the driver off the Support Site and ThinkVantage System Update
    Main thread discussion here
    //JameZ
    Check out the Community Knowledge Base for hints and tips.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    X240 | 8GB RAM | 512GB Samsung SSD
    Solved!
    Go to Solution.

    All,
    Updated drivers have been released to the web team and should be published in the next couple of days.
    Will update this thread once they are live - the official solution will be to use the newer drivers.
    mark
    ThinkPads: S30, T43, X60t, X1, W700ds, IdeaPad Y710, IdeaCentre: A300, IdeaPad K1
    Mark Hopkins
    Program Manager, Lenovo Social Media (Services)
    twitter @lenovoforums
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • InDesign for Windows + Arabic and Nepali languages

    Is it possible to create documents in Nepali and Arabic in InDesign CS3 for Windows?
    Any specific requirements?

    We are looking at a project taking some very old Nisus documents and reproducing them in InDesign CS3. I am still gathering data from the original person who did the manuals years ago. So far all I have is that they used an old version of Nisus that only works on OS 9 and they used Dallas, Dalstuff, and Dallas Bold fonts.
    Any ideas as to whether we could convert this or import the text into InDesign CS3?
    Or perhaps more importantly how well InDesign CS3 will work with Nepali in the first place.
    Thanks,

  • How to set the date and time format from Windows Server 2008 R2

    Hi,
    I want to control my client's date and time format as dd/mm/yyyy format and I need to do it using the windows server 2008 R2. How can I achieve this goal?
    Yoshika04

    Hi,
    In Windows Server 2008 R2, you can use Regional Options Extension in Group Policy Preferences to configure the date and
    time format. For more information, please refer to:
    Regional Options Extension
    http://technet.microsoft.com/en-us/library/cc754496.aspx
    Regards,
    Bruce

  • Huge ntuser.dat.LOG1 since upgrade to Windows 8.1 prohibits roaming of user profile

    Hello,
    a few days ago my PC (part of our domain) first started to have problems with my user profile. Our domain uses roaming profiles with a size limit of 30MB. My user.dat has a size of 12.5MB. Up to now this did not cause any problems (and does not cause any for
    most users of our domain having a user.dat of similar size). However, after upgrading to Windows 8.1 I repeadly have problems with my profile exceeding its maximum size. After checking my profile, I found a ntuser.dat.LOG1 with 12,5MB in size and a ntuser.dat.LOG2
    of 2MB. As far as I know these files are used to store temporary transactions for the user.dat. But why are they this large? Together they almost completely fill the profile. As an interesting side node the last modification of ntuser.dat.LOG1 dates back more
    then seven days.
    What is further puzzling me: ntuser.dat.LOG1 and ntuser.dat.LOG2 are not synchronized with the roaming profile on the server. At least they are not on the server. However there used to be much smaller versions of these files which could have been transfered
    before the profile size exceeded its limit. Since these file seem not to be part of the roaming part of the profile, they should not count for the roaming profile size. However, they definitely do. Neglecting the registry files the largest file in my profile
    is less than 500kb and there are very few files of this size. I checked locally as well as on our server.
    Deleting the local profile and starting fresh using the roaming profile from our server does work for a day or two but then I run into the same problem. Especially, loosing all local profile data is inconvenient. I could start a new with a completely new
    profile, but I am not convinced that it is a profile issue. In our organisation my computer is one of the first to move to Windows 8.1. Since my profile worked without problems for years now, I am worried that I ran into a Windows 8.1 issue. As users normally
    start to complain about a roaming profile not synchronizing only after their local copy broke, I'd like to make sure that this is a isolated issue.
    Anyone else experiencing similar issues? Any hint on how to solve the problem?
    Regards,
    Oliver

    No, I did not find a solution. However, we moved away from roaming profiles and rely on folder redirection only. That works for us. Since we can redirect the most important folders there is no more need for roaming profiles (at least in our case).

  • Payment Date is Above the Cumulation Window

    Hi gurus - We have a situation with a Canadian employee who was converted into our system as a retiree. The only payroll results he has are NAMCs for Year End adjustments.
    We are testing an issue related to YE and are making NAMC entries on IT 0221 through tcode PAKY. Payment date = 07/31/2009. Error = Payment date 07/31/2009 is above the cumulation window (07/01/2007 - 07/31/2008). If I use a payment date of 07/31/2008 we don't get the error - understandably. But even if I successfully run an adjustment for 07/31/2008 and then try for the next year, 07/31/2009, I still get the error.
    From what I understand, the program is basing the cumulation window on the last payroll resutls. However, in the CRT and TCRT in his last payroll results, he has cumultions for the year 2008 from the NAMCs that were performed for 2008 YE last year. That would lead me to believe that his cumulation window would have moved up (past 07/01/2007 - 07/31/2008).
    Can anyone explain how SAP defines the "current cumulation window" and/or how to update the cumulation window to a more recent period?
    BTW - the entry in T56C5 is set to 1.
    Many thanks,
    Christy

    Hello,
    You must enter a paydate within a given time range - the cumulation window.
       If one control record is set too far back in the past, the cumulation window is determined incorrectly which leads
       to the mentioned error message.
    The solution should be:
      Please ensure that the control records of all effected payroll areas are set to a period around a date of today.
      (This is also valid for the control record of the non payroll relevant payroll area. If you delete this record, note 355889 has
      to be applied.)
    Also please check the following: Look at IT0000 and IT0001 and check all the records you find. Then check all the payroll
    areas and look if any of them are not payroll relevant. Finally have a look at the payroll periods and find out if they were
    correctly generated, if not generate them.
    I hope this information helps you.
    With Regards,
    S.Karthik

  • How to get all data from time maschine to windows pc?

    pls can somebody helps me, i lost my macbook and all data have on time maschine.................... need to get them out on windows pc, and second problem, downloaded itunes to windows but how i can get pictures and music from my ipod and iphone to itunes, thx for every help

    if you can put those data in your computer then add it in iTunes. your iPhone 5s should get it thru syncing.

  • How to copy Palm Desktop data to a PC using Windows 8.1

    If like me you still find the Palm Desktop data (address, calendar, memos, etc.) handy and use it long after throwing away the handset and "sync" ability, you may find this useful.  I bought a new PC using Windows 8.1 and had problems transferring data because of a wrinkle that I figured out, which didn't exist in Windows XP, Vista or 7 versions.  Here's a recap of one way to easily transfer data from those earlier versions if you have a USB flash drive (or Dropbox, Google Drive, whatever) handy :
    1) Download Palm Desktop 6.2 or 6.2.2 to your new PC.  Then give a user name exactly as it exists in your old PC's database.  This name will be used by Desktop software to create a six letter folder name (an abbreviated version of your name) to hold data that Palm Desktop will look up.  Wait a few seconds for this to happen, then close the Desktop application on your new PC.
    2) In your old PC from where you want to transfer data, look for the folder called "Palm OS Desktop" which should exist in "Documents" under "Users" folder and subfolders path like >your name subfolder>Documents in Windows 7 (may be Vista too) or may be under "Documents and Setting" folder in Windows XP. 
    3) In this folder "Palm OS Desktop" look for that six letter subfolder of your name, and select that entire subfolder and choose "Copy" or Ctrl-C
    4) Locate the same subfolder name in your new PC (which will have null data), delete it, and then "paste" the subfolder you "copied" into the same exact location.  If you've done it right, Viola!  Your new PC desktop should show all the transferred data once you again open the application.
    Most of the same procedure works with Windows 8.1 (probably also Windows 8) PCs.  What I found different was that the data subfolder created under "Palm OS Desktop} had 7 instead of 6 characters with a "0" (zero) added as the last character.  So when you finally copy and paste that subfolder into the new PC you have to rename it and add that "0" for the Palm Desktop to locate this data.
    Hope this helps.
    This question was solved.
    View Solution.

    To turn off UAC, go to the Control Panel, then User Accounts.
    Under the header, "Make changes to your user account", there is an entry titled "Change User Account Control Settings".
    Pick it, and drag the slider all the way down to "Never Notify".
    Access of Japan is the company Palm hired to write Palm Desktop 6.2.2.  
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • No data was been displayed in Windows Performance Analyzer

    When I use the Windows Performance Analyzer to analysis the data,but the performance data is not displayed in the WPA. Who can support me to solve the question.
    Detail:
    1. Create the *.etl file
    (1)do the command:   xperf -on SysProf -stackwalk profile
    (2) execute the performance software
    (3) do the command to create the *.etl file :  xperf -d f:\aLog.etl
    2. Analysis the *etl file
    (1)Use the WPA to open the *.etl created by the step(3), click Load Symbos below Trace Menu
    (2)Drop Computation to the Analysis window
    (3)Select Utilization by Process,Stack,no data is been displayed below Series,and I try all the selection ,no data is been displayed. But put the mouse on the cell, there is some information about *.exe file on it
    Remark:The other method to create the *.etl file  : Use Windows Performance Recorder to create *.etl file,then execute the Step2 to analysis the *.etl,the result is that no data is been displayed
    Test enviroment:
    OS:Windows7 Professional SP1
    Explorer:IE 8.0
    Captured image:

    When I use the Windows Performance Analyzer to analysis the data,but the performance data is not displayed in the WPA. Who can support me to solve the question.
    Detail:
    1. Create the *.etl file
    (1)do the command:   xperf -on SysProf -stackwalk profile
    (2) execute the performance software
    (3) do the command to create the *.etl file :  xperf -d f:\aLog.etl
    2. Analysis the *etl file
    (1)Use the WPA to open the *.etl created by the step(3), click Load Symbos below Trace Menu
    (2)Drop Computation to the Analysis window
    (3)Select Utilization by Process,Stack,no data is been displayed below Series,and I try all the selection ,no data is been displayed. But put the mouse on the cell, there is some information about *.exe file on it
    Remark:The other method to create the *.etl file  : Use Windows Performance Recorder to create *.etl file,then execute the Step2 to analysis the *.etl,the result is that no data is been displayed
    Test enviroment:
    OS:Windows7 Professional SP1
    Explorer:IE 8.0
    Captured image:

  • How to pass the data from a pop up window to the parent window

    Hi All,
    I have a jsp page which contains a add button, while clicking it a popup will come out(which is a another jsp page). There are some input fieldsand a submit button. Now how could I send the data from the pop up to the parent winow. Also I have to check that if the pop up is open and I click add button then another pop up must not open.
    Plz reply its urgent
    Thanks and Regards
    Rajib Sharma

    Thanks for the reply
    But it not worked
    I have a jsp page and the popup is also a jsp page the data that is passed from the popup window to the parent must be send to the server from the parent window to get a data from the data base as search result. Its of no use to get it as js data
    Thanks and regards
    Rajib Sharma

  • Lost all my data when tried to restore windows from image backup. What to do now(for free)?

    Dear Friends,
    My Server: HP DL380-G7, OS: Win Server2008 (original).
    10 days ago when one of my web application is not working I tried to restore my file in old state. So I apply "Windows image backup" services. After completing the process I found that I can't boot. And later when I installed a new OS I discover
    all my data from dives gone even from my attached USB hard drive.
    HELP ME!!!!! Its my greatest mistake in my 7 years career.
    What to DO!!!!!!!!!!

    Hi,
    Above all, whether the USB disk is also included in your system state backup? If so, the restore will also restore the USB disk back to the status when creating that backup.
    As data is gone from the USB disk, please make sure there is no any new file wrote onto that disk. Then you can try some third party data recovery tool which could help get the files back. Generally such kind of applications are not free but you can still
    search for any application with free version or trail version. 
    If you have any feedback on our support, please send to [email protected]

Maybe you are looking for

  • IWeb crashes when I try to launch it

    Hi, I'm facing an issue with iWeb when I try to start it : it crashes with the following error: Process:     iWeb [8518] Path:        /Applications/iWeb.app/Contents/MacOS/iWeb Identifier:  com.apple.iWeb Version:     3.0.4 (304) Build Info:  iWeb-60

  • Data Structure

    I have been searching online for this answer for quite a long time so i hope you guys can help. I would like to know the name of the data structure used when a program stores data to a file by writing each data entry in one line. So for example if I

  • XDCAM SD PDW530p MXF files unable to import into Premiere CS4

    Hey guys, New to the XDCAM world...I'm trying to load in the mxf files using the import function but I get an error 'Codec missing or unavailable'. Can anyone shed some light on this? While i'm here the footage is shot in 720 x 576 @ 50MB...what proj

  • Lightroom - as 64 bit native application

    Hello All, I searched but didn't find any information about this. Has anyone heard plans of a port of Lightroom to WinTel x64? Thanks, F

  • Can I use Apple Pay with a Chinese Credit Card that is MasterCard or VISA in the United States?

    The credit card is issued by a Chinese Bank but it's MasterCard or VISA.