Format Error in displaying date in WD

Hi All:
I create a simple Type of type date in my dictionary and a context value attribute that is bind it to the value property of an InputField. The problem is that when the application is running, appears the date Navigator and I select a date but isn´t returning the date in the right format and the day is wrong.
What could be the problem?
Regards.
Aída Martínez

Hi:
My required format is these dd/mm/yyyy. In firefox is displaying fine the format, but when I getting the value from the context is putting dd-mm-yyyy. I discovered that in Internet Explorer is displaying fine de date, but in Firefox, if I choose 23/04/2008 I got in the context the value 01-04-2008. Always appear the first day of the month I chose.
Thanks for the help
Regards

Similar Messages

  • Date format error while accessing date from SQLSERVER

    Hi all, in me webdynpro application I have taken Date type for the Input Field.
    At date select it is displaying in the format
      *2/14/2009 i.e. mm/dd/yyyy*
    And when I am saving date in the sql database then the date format changes to..
    2009-02-14 i.e..yyyy/mm/dd.
    But using the Date format method I have changed the format as per the need to push date in the SQL database table...
    In the table SQL the date attribute is in form i.e.    02/14/2009 as like from the date select from the date Input Fieldu2026But the problem is that database is not being able to display in that Input field again.
    I have use the coding both at Insertion and selection of the database i.e..
    Date Sdate, Edate;
    Sdate     =   Date.valueOf (rs.getString ("Sdate"));
    Edate     =   Date.valueOf (rs.getString ("Edate"));
    SimpleDateFormat date Formatter = new SimpleDateFormat ("MM/dd/yyyy");
    Sdate = wdContext.currentProjectElement ().getEdate ();
    Edate = wdContext.currentProjectElement ().getEdate ();
      String Sd = dateFormatter.format (Sdate);
      String Ed = dateFormatter.format (Edate);
      Date Sdd =Date.valueOf (Sd);
      Date Edd =Date.valueOf (Ed);
    But at selection of the database the error for the date format isu2026.
    java.lang.IllegalArgumentException
    If somebody knows how to resolve this ,plz let me know
    Regards:
    SK

    for displaying the value only, I think, you are converting to string.
    sol1:
    1. Create a simple type in dictionary: under Dictionary -> Local Dictionary -> Simple Types
    2. go to Definition tab: Change Built-in Type as Date
    3. go to Representation tab: specify format e.g.: MM/dd/yyyy
    4. go to Context and change the date context attribute to the created type.
    sol2:
    please try to minimize the casting between Date and String.
    I believe in database date is stored as Date type itself. My suggestion will be for displaying keep a separate attribute and set it on each db call.
    below code is converting from Date to String.
    Date Sdate, Edate;
    Sdate = rs.getDate ("Sdate");
    Edate = rs.getDate ("Edate");
    SimpleDateFormat date Formatter = new SimpleDateFormat ("MM/dd/yyyy");
    String Sd = dateFormatter.format (Sdate);
    String Ed = dateFormatter.format (Edate);

  • Error in displaying date time value in Thai Windows OS browser.

    Hi,
    I have a problem displaying date time in the browser which is installed with Thai Windows OS. The time portion (the subset of datetime) does seemed to show correctly. Initially i am suspecting the virtual machine problem but i tried on bith java and microsoft vm, the result seemed the same. I tried to look in the source of the page and the character is just the same as the incorrect character displayed in the browser. The html source is -->
    <tr class="TableData">
         <td width="76">14/01/04 12:17:06 H-@5H"</td>
    the time is displaying incorrectly. I am not sure its due to any setting in the BEA weblogic server. FYI i am now using WLS6.1(SP2) version. Hope and appreaciate a prompt reply. Thanks a zillion in advance.
    Regards,
    Sunny

    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=noclassdeffounderrorIWDAbstractTableColumn&adv=false&sortby=cm_rnd_rankvalue
    java.lang.NoClassDefFoundError
    Error while binding node attribute to a  UI  element (table)
    Problem with NWDS 7
    class def error?

  • Urgent: Error while displaying data in OBIEE answers

    Hi,
    I'm facing an issue in OBIEE answers when trying to display values from my fact table. It is displaying something like invalid column identifier in oci call stmt execute...
    I have three dimensions and that particular column is in three dimensional tables and i changed the names and placed in fact table.
    when i'm trying to view data in physical layer it is displaying data.
    why i'm facing this error.. How can I resolve this??
    Its very urgent requirement and any help will be appreciable..
    Regards,
    Sindhu

    Hi,
    I changed the column names in BMM only. Not in physical layer. In physical layer i'm able to view data.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 904, message: ORA-00904: "T95877"."OBSERVATION_DATETIME": invalid identifier at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
    SQL Issued: SELECT "FACT - RISK SLOT Overtime"."In Gas Price Value ID" saw_0 FROM "AO Risk" ORDER BY saw_0
    I'm getting this error...
    Regards,
    Sindhu

  • "Bad image format" error when displaying an image on Nokia 6600

    I get a "bad image format" error when I try and display an image on a Nokia 6600 cellphone. The image displays correctly when I run it on the J2ME 2.1 Emulator, but gives an error on the phone. Plz help!!

    More info please... what kind of an image are you trying to display?

  • Error while displaying data of a Infoset with Cubes

    Hi,
    The following error displays when I try to read Infoset, which have 2 infocubes joined with inner join.
    "IBM][CLI Driver][DB2] DSNT408I SQLCODE = -204, ER ROR:  SAPR3.T00001 IS AN UNDEFINED NAME DSNT41 8I SQLSTATE   = 42704 SQLSTATE RETURN CODE"
    "Error when generating the SQL statement"
    "Error reading the data of InfoProvider <Infoset Name>"
    Any one familier with this problem?
    Experts..any know causes or solutions for this?
    Thanks.
    Chenna.
    Edited by: CHENNA S on Jan 6, 2009 2:28 PM

    All objects are active and checked.
    In my testing I have noticed it is not accepting InfoCube  . Any one know why its happening? What's  wrong with the cubes in this InfoSoft?
    Thanks.
    Chenna
    Edited by: CHENNA S on Jan 6, 2009 3:17 PM

  • MSS iView Error To display data, first select an employee

    I have configured a MSS portal role with an employee page.  The employee search (team viewer) iView is on the page with general data, salary data, and salary development.  For some reason, the salary data iView gives the message "To display data, first select an employee".  The other iViews on the page work ok.  Any idea what's causing that?

    Hello,
    The reason why the table is not being displayed is because of the currency you're using. The currency which
    you might be  populated from the backend is 2 character. I'm not sure if there is any currency code with two characters in the backend System. The standard should be having  3  character.
    Best Regards,
    Deepak

  • Date Format  error while loading *.dat  file to Sataging .

    Hi All ,
    Loading data from *.dat file in to Staging , the dat file contains data for date in 'MM-DD-YYYY' format which is String , when it loading by control file it produce the error date format is not supported .I think ti required DD-MM-YYYY format . Is their any properties to change the date format or else need to write the function for converting date format .
    I am using OWb 10g Release 1 , with same DB .
    Please guide me
    Thanx in advance
    Regards ,

    Hi,
    Before loading into staging, you can use Expression operator to convert the CHAR into DATE with something like this:
    TO_DATE('01-02-2005','MM-DD-YYYY')
    Hope this helps.

  • Formatting error when displaying OSS note w/PDF

    While searching & displaying OSS notes, I click the PDF button to print or download the note.  I then get a message "An error occurred when formatting the SAP note.".  Has anyone seen this and have suggestions for correcting it?  My colleague is able to bring the note up in PDF format just fine, so it's something unique to my PC or Adobe reader.

    I've seen this last week too - no matter what PC I was using.
    If it doesn't work after a while I'd open an OSS call
    Markus

  • Error in Displaying date and Time in Message - Nok...

    Hi,
    I have brought a new Nokia 5130 Xpressmusic last month. Now i am facing a problem when i received the message. In the message detail of any message of my inbox the time displayed is 7 to 8 hrs ago the time when i received the message.
    For Example
    If some body send me a message at 1:00 PM the message detail will show the time 9:00 AM approx....
    Any body help me on this....
    ~Ujjwal 

    make sure that your time and date settings are correct 
    for time make sure you have correct time zone - use local or your specific time zone if you prefer
    also see if you have automatic time update on or off, if it is on turn it off or if you are using local time you can have it on. see if this helps your issue any 
    You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery....

  • Unable to conv Number to DEC format :Error while Uploading data

    Can anyone help with the above error rectification plz.

    hi,
    welcome to sdn ...
    please in more detail what data are going to upload,
    r/3 or using flat file ?
    and more detail error message with transaction st22 ?

  • Error in Displaying date in BEx

    Hi,
    I've created a Key figure based on calday. It has exception aggregation as 'Last Value' based on calday.
    When I'm using it in a query It turns the date to 'mm/dd/yyyy' where ever possible.
    e.g if a date is '03/09/2007' it shows it as '09/03/2007' but if it is '13/09/2007' it is showing it fine. I also put calday next to this KF and calday is working fine. it is showing date correctly (dd/mm/yyyy). All the data is loaded correctly and cube is having the KF correctly. When I run the same query in web KF is working fine. Its only in BEx it is having a problem. Can anyone, please tell me how to resolve this issue. If it is a bug of BEx then where can I find the patch.
    My current BEx version is  3555.3.016
    Regards
    Tarun

    I have the same problem !
    I have Bex Analyzer 7.0 Package 3 and the days and months are switched if possible (01/10/2007 becomes 10/01/2007 but 30/10/2007 stays the same). I also noticed that the problem doesn't occur with Bex analyzer 7.0 package 2 and in my portal, the dates are also correct. If i do calculations with the dates (to get the difference), the results are correct.
    For example:
    in the portal it shows: date1 =  01/10/2007 and date2 = 02/10/2007 => the calculated difference is 1
    in the analyzer it shows: date1 = 10/01/2007 and date2 = 10/02/2007 => the calculated difference is 1.
    I checked my configurations and the only difference on the 2 computers is a different package (2 vs 3).
    Anyone has an idea??
    Kind regards

  • X:InputCalendar and format of displayed date

    I am using a simple <x:inputCalendar> component which works fine, but the format of the displayed date (the date that was selected from the popup calendar), is not formatted in the way I want it.
    I want the format dd.MM.yyyy. I've tried to put a
    <f.convertDateTime type="date" pattern="dd.MM.yyyy">
    but nothing seems to happen.
    I have tried different patterns as well.
    It only displays the MM/dd/YY.
    Is it possible to change this at all? Has anybody done the same thing?

    Well stupid of me.
    Didn't see the popupDateFormat.
    Solved! :)

  • MySQL timestamp formatting errors

    I'm continuing to have odd formatting errors when pulling data out of a MySQL database.  The one I'm currently having is with time values. 
    The screenshot shows that the error is being generated in the Variant to Data.vi  The actual time stored in the database is 8:30AM  But when converted to timestamp, I get 8:29:59.999  Unfortunately, there doesn't seem to be an easy way to 'round' this value back to what I want either.  
    I could go back to string outputs, since that particular error doesn't seem to propagate into a string.  But that messes with the rest of my application.  Going back to string output undoes a couple of days work, and leaves me with the problem of having to convert string 'time' back into timestamp that LabVIEW can understand.
    The really odd thing is that 12:30 comes out as 12:30 just fine.  I'm not sure why this would be.  Any ideas?  
    Patrick Allen
    Solved!
    Go to Solution.

    There's no difference at all.  Changing the properties of the constant doesn't seem to effect the output at all. 
    I'm trying to figure a way to convert the string back into a timestamp now via these instructions. http://zone.ni.com/reference/en-XX/help/371361B-01/glang/scan_from_string/ (example at the bottom of the page)  
    But my string out put is in the form 7/7/2009 8:30:00 AM  and there doesn't seem to be a way at all to use the scan from string tool to covert that back into a time stamp.  
    Even if I manipulate my string output to be exactly 8:30:00 AM 7/7/2009, the example and any variation I can think of simply won't work.  I always get the error that the data is not in the expected format.   
    Message Edited by pallen on 07-07-2009 12:05 PM
    Patrick Allen

  • Can we display date and time in a movie

    I am filming a production process and would love to be able to display time of day as the video is playing.
    I can see this info while editing, but I don't know if iMovie'11 will let me display this info onto the movie itself? I need to pass these clips to someone who doesn't have any editing tools, but they will be interested to review the events on the tape relative to the time of day that they occurred.
    It would be cool if iMovie had a title effect that 1) displays time and date info, 2) let's the user edit the format of the displayed date and time, and finally, 3) lets the user move this title information to a location in the tape that won't obstruct the critical elements of the movie.

    Thanks Appleman 1958!
    This helps, but to your point, it doesn't show seconds, and it doesn't show frames (for the video purists out there).
    Limited to no more detail than minute data, it is not too useful for me, but I could see this being fun in a fast motion shot.
    Also nice for capturing day and time of day information for a vacation video.
    For my application, all activity took place in 5 hours, and I would need to see down to the second (and ideally the frame) when specific actions took place.
    It would be awesome if Apple would let us
    1) edit displayed information (lets say for example turn off date, but show hours minutes seconds and frames)
    2) edit the font & font size
    3) allow flexible placement of the information window. The default location may be where major action is.
    Again, thanks for pointing out this title!

Maybe you are looking for