Date always display not accurate

Hi
I don't know why my display date always 1 day before the actual date. Let say the date value in database is 15-08-2006 in database, while I get the date and display it into my page, it always show me 14-08-2006.
Is it this problem is related with the locale setting? will it also influenced by the server and client locale setting?
I try to set the locale in faces-config.xml, but it seem like not effect on display the actual date. So may I know what problem I am, and how can i solved it properly?
Thank you.

I found the problem thanks google !
The response is here :
http://wiki.apache.org/myfaces/FAQ#Date
And the solution is :
Backing bean code :
public TimeZone getTimeZone() {
          return TimeZone.getDefault();
     }JSP page code :
<h:outputText value="#{hist.date_Crt}">
                         <f:convertDateTime timeZone="#{historyAction.timeZone}" />
                    </h:outputText>How difficult it was to solve this problem ! 2 hours to surf on the web for that !
Thanks google ;).

Similar Messages

  • Navigator panel display not accurate representation.

    I've just tried my hand at converting a photograph to a simulated oil painting.  The final step was to select Filter>Texture>Texturizer.  I then faded that adjustment (Ctrl Shift F) to achieve the degree of texture I desired.
    I then noticed that the Navigator panel display a much stronger and harsher amount of texture.  I'm using a dual monitor setup and I first assumed that the difference was between the monitors.  But, I drug the navigator panel over to my main monitor and it was the same there.  When I printed the photo it was OK, but I hesitated printing it, not being sure which was the correct display.
    Main Display
    Navigator
    Anyone else have this problem? Is this difference normal?

    Hi John,
    Just out of curiosity I tried following your footsteps and found that with OpenGL turned off the effect levels visible in the main window and Navigator palettes seem about the same.  But with OpenGL on I believe you could say that the Navigator window there was a larger difference.  Knowing what I know about OpenGL resampling (and guessing Adobe enables the highest quality resampling), the main window, when zoomed to other than 100% is probably the better representation of the actual effect level in the image.
    Screen captures below...
    OpenGL Turned Off
    OpenGL Turned On
    So I guess you could say what you're seeing is typical.  Given that the Navigator panel is mostly for seeing where you are in the image I guess it's nothing to worry about.
    Did your print come out looking just like you expected per the main editing window?
    -Noel

  • When starting firefox, compatability checker always runs and then the "hooray, your firefox is up to date" page always displays have tried various suggestions but no luck yet

    firefox compatibility checker runs on each start of FF and Hooray, your FF is up to date always displayed too, have tried all the obvious like resetting homepage, but no joy

    see '''Matt_G''' reply in : https://support.mozilla.org/en-US/questions/916778
    thank you

  • The PDF output is not always displayed!

    Hello
    I'm tryin' to build some PDF outputs and I have the next problem: I have 20 reports to make it on PDF form (viewed with the Acrobat plugin from IE 5.5 or higher) and when I try to see what was builded the PDF it's not always displayed ( mean it's not readed by the plugin). I generate the PDF output from a servlet (which also set the servlet output context as 'application/pdf') and, if the output it's generated too fast (meanning the report information was too small), the Acrobat plugin doesn't catch him ! I think that I have to slow down the servlet response to allow the plugin complete loading, but I don't khow how to do this (and, ofcourse, if it's possible).
    Please, I need a solution. !
    Thanx!

    Hi,
    setting content type as application/pdf is quite enough for the plugin to catch
    I generate the PDF output from a servlet
    (which also set the servlet output context as
    'application/pdf') and, if the output it's generated
    too fast (meanning the report information was too
    small), the Acrobat plugin doesn't catch him !but i think IE has a problem catching this, cause i also once ran thro this kind of problem
    I think that I have to slow down the servlet response to allow
    the plugin complete loading, but I don't khow how to
    do this (and, ofcourse, if it's possible). Yes it is possible.... if ur sevrvlet ehich is displaying pdf is http://host/PdfServert
    just make in such a way that the extention is pdf..
    http://host/PdfServert?xy=z.pdf or register the servlet with .pdf ext
    http://host/PdfServert.pdf...
    belive it really worked perfect for me..
    regards,
    Arun.N

  • I redownloaded my Photoshop CS5 and Camera Raw will not accept my RAW files nor will the Adobe Bridge display the picture view of these files. A message displays saying it doesn't support this camera.  I have a Nikon 5100 DSLR Camera.  It always displayed

    I redownloaded my Photoshop CS5 and Camera Raw will not accept my RAW files nor will the Adobe Bridge display the picture view of these files. A message displays saying it doesn't support this camera.  I have a Nikon 5100 DSLR Camera.  It always displayed them in the past.  How can I get it to display these photos in Bridge and open them in RAW?

    Adobe - Adobe Camera Raw and DNG Converter : For Windows : Camera Raw 6.7 Update
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Camera Raw 6.7 Update
    Benjamin

  • Date Format was not displayed correctly

    Hi All,
            We are developing WebDynpro Application successfully....but the date format was not displayed correctly.
    the RFC Date format is : 05/23/2007
    but in webdynpro we are getting date is wrong....we are getting date is : 09/05/2008.
    the below one is our coding for date display format.....
    public java.lang.String DisplayingDateFormat( java.lang.String date )
        //@@begin DisplayingDateFormat()
                        // Current date Format in BW
    SimpleDateFormat sdf = new SimpleDateFormat("MM.dd.yyyy");
    String ChangedDateFormat=null;
    try{
    //Parsing String to Date
    Date sqlDate =sdf.parse(date);
    Locale userLocale=WDClientUser.getCurrentUser().getLocale();
    DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.DEFAULT, userLocale);
    //Converting Date to String
    String newDateString = dateFormat.format(sqlDate);
    ChangedDateFormat=newDateString;
    I mention my user country is Germany.
    can u tell me any one why we are getting wrong date.....
    Really i appreciate.
    Thanks and Regards,
    Abhiram.

    Too bad you can not offer yourself points. LOL

  • Display the date witch is not exist in my table

    Dear Sir
    I want to get the date which is not exist in this field C_DATE, when I compare between tow date, that is I let user enter from_date and to_date ,to get the date which is not exist in the CHEMICAL_CONSUMPTION table ,
    And my table structure as the flowing:
    SQL> DESC CHEMICAL_CONSUMPTION
    Name Null? Type
    C_DATE DATE
    C_JOB_NO NUMBER(8)
    C_BLOCK_TYPE VARCHAR2(10)
    C_COLOR_TYPE VARCHAR2(10)
    C_RUN_TIME NUMBER(6,2)
    C_OPER_CODE VARCHAR2(10)
    REMARKS VARCHAR2(450)
    C_YEAR NUMBER(4)
    C_DAY_REMARKS VARCHAR2(2000)
    ORDER_CODE NUMBER(12)
    RRQ_DOC_CODE NUMBER(12)
    Can I compare this table with the dual table to display the date witch is not in CHEMICAL_CONSUMPTION .
    Waiting for your valuable answer with example
    Best regards
    Jamil Alshaibani

    something like
    SELECT *
      FROM CHEMICAL_CONSUMPTION
    WHERE C_DATE BETWEEN (:BLOCK.FROMDATE AND :BLOCK.TODATE)
        OR C_DATE IS NULL;Just a guess.

  • SSAS Date Dimension attribute not displaying all members when browsed singly

    I have an SSAS Cube database that holds data from 2009 to 2013 (5 years)
    There is a Date Dimension in the database which holds a "Calender Period" Hierarchy with the attributes CalenderYear >> Quarter >> MonthYear >> Day .
    I am connecting to the cube via Microsot EXCEL
    Whenever i try to browse this hierarchy alone in the spread sheet, the first attribute as per the hierarchy shown above i.e. Calender Year does not display all the members, that is confusing the users to assume that the cube is not processed with the latest
    data, which is not the case. However as soon as i try to browse any measure with this dimension, the data automatically shows for the latest dates of 2013 as per the expectations.
    The perspective that is selected while connecting to the Cube in this case is the one that is by default the one including all the Cube Objects.
    Whenever i try to browse the same cube for the same Dimension Hierarchy but in a separate user perspective i get the latest three Calender Years i.e. 2011,2012 and 2013 but not the complete years 2009 to 2013.
    When i was browsing this earlier by the original base perspective (which has all the cube objects visible) the Calender Years displayed were 2009,2010,2011&2012 but not 2013 which should be there.
    I checked the base view in the DB that is used to create this Dimension, that is fetching the complete data for 2009 to 2013.
    I have also verified that this issue is still there if i try to browse the cube from the SSMS.
    Can anyone help me to get all the years from 2009 to 2013 (the years for which my cube has data) become visible as soon as i drop it alone into the Spreadsheet?
    Thanks 
    Suvrat

    Thanks for your response Muthukumaran.
    I did not know about this default measure property of the SSAS cube, it would be nice if you could also tell me how to check which is the default measure for a cube.
    I understand your point that if a particular measure group does not have data for a year then that particular year will be skipped as per the default excel settings, which when disabled allowed all the years to be displayed, but in that case every time the
    users connect to the cube via excel, they will have to configure this property.
    I would like to share the way i resolved this issue:
    I went ahead and simply did a Process Full for the Date dimension. The years started to display by default as per the expectations. Now after observing this change, as per my understanding I believe this issue was due to the CACHE of the cube not being updated
    for the date dimension. As after each incremental load of the DWH we processed the cube & while processing the cube the dimensions were set for a Process Update and the Measure Groups were set for a Process Full. This caused this issue, and we could resolve
    this once the Date Dimension was processed full.
    Thanks
    Suvrat Rai

  • Freeway traffic data is not accurate in Seatte Area

    I'm finding in Seattle area (I5, 520, I90, 99) that the traffic data is not accurate.
    I've seen it on a few occasions now when I'm picking a route to avoid conjested areas that sometimes I've had to go along a RED freeway and found it to be open and problem free.
    How often is the data updated - how old is it ?
    Is there a way on the iPhone to get the Maps app to refresh its data

    Use Safari and go to this page: http://www.wsdot.wa.gov/traffic/seattle/
    It might be better.

  • Pages not always displaying properly

    Hi. For some reason certain websites I use often as well as various others aren't always displayed properly (e.g. they often have the menu at the top/side and no main content). Sometimes refreshing the page a number of times or hitting back helps and other times I end up going off the site and going back to it later where there's about a 50/50 chance it will load fully.
    I thought maybe it's because my Firefox browser needed updating, but after updating it I still have the same problem.
    I cleared my browsing history/cookies/cache and it did nothing. Then I noticed under Options-Advanced-Network it mentioned the cache for offline storage, which I noticed was at 1GB (it seems to go up very quickly). I cleared it and the sites all loaded first time until I closed the browser window and re-opened it. Now no matter how many times I clear the cache, cookies or anything else it still refuses to display the pages properly.
    On top of that I'm suddenly getting pop-ups for various sites (usually with a table of ebay or amazon items). They often appear when I click to type in a box on a site (e.g. in a search engine), but it happens randomly on any site and the window it opens always has a different address even if it is displaying a similar page. This too started when I still had the older version and is still continuing with the latest version. I have block-ups blocked.
    A few weeks ago everything was fine and I haven't added any extra add-ons or done anything different in that time (as in surfing the web, editing browser settings or downloading new programs, or even editing existing ones). However, today I did update existing add-ons just to see if this was the problem. This has all started in the last week or so.
    Any ideas as to what is causing these problems and how I can solve them?
    Thanks

    Thanks. Them links just suggest to do what I've already done though. I've cleared the cookies and cache and history. I've disabled extensions, themes and plugins to see if that affects it. I completely uninstalled FireFox and everything to do with it. I've done full system scans for viruses, malware and spyware and found nothing and I've even used CCleaner to make sure it wasn't a file affecting it that shouldn't be there. I've then re-installed firefox and I still have the same problem.
    I also noticed that when trying to load a page I get a small message in a box on the left hand side at the bottom of the browser that says "Read static.ak.fbcdn.net", but I've only noticed it on one site, not others that don't load properly.

  • F-90. asset value date field is not displayed

    Dear all
    In asset acquisition posting through F-90. asset value date field is not displayed at the time of entering acquisition. It is in supress mode. so system is capturing the capitalisation date. But we can see this capitalisation date as asset value date in fb03 display. Now i want to display this field as optional field while creating the entry and also i want to change the field in display mode to change mode. kindly tell me the menu path to access the settings.
    Thanks With  Regards
    RSS.

    Hi,
    You can enter a diff asset value date for your acq posting, only thru transaction ABSO using TType 100.
    This will resolve your issue.
    Thanks,
    Srinu

  • Satellite P100-188: drive not always displaying CD title in explorer

    I have a P100-188 and when I put a CD into the multidrive it does not always display the title of the CD. If it has displayed the title and you take the CD out it will still display the title of the CD for a while afterwards.
    Any advice would be appreciated.

    I have been given the solution though the Microsoft Windows MCE General Discussion Forum. I downloaded and ran the Autoplay Repair Wizard from the Microsoft website and this cured the problem.

  • After update my iphone 4, I have problem charging my phone. It will always display Charging is not supported with this accessory

    After update my iphone 4, I have problem charging my phone. It will always display charging is not supported with this accessory. What happen to iOS 5, how come it can register my charger?

    I have a 3Gs and I cant charge my iPone with any of my non Apple charges such as my Logitech stereo since I upgraded to IOS5... what did Apple do?
    /M

  • Could not find any data to display - how to modify system message

    Hi,
    We created an exception report in the Web Application Designer.
    If there are no exceptions (so there is no data to display) the following standard system message is shown:
    Could not find any data to display. This might be due to the current selection of variable or filter values
    We would however like to modify/remove this message.
    How can this be done?
    Thanks
    Dave

    Hi,
    Please check the link:
    /people/marc.bernard/blog/2008/10/10/how-to-filter-messages-created-by-bi-ip-planning-functions-and-sequences
    Please check the Q&A section of above weblog which mentions about
    function module RRMS_MESSAGE_HANDLING which could be helpful.
    Please also refer to SDN thread:
    Re: WAD - messages - message type
    Regards,
    Amit

  • My Iphone 4 at random times, just wont send messages for around an hour even if i have full service, its always up to date so its not that but any help on what this could be?

    My Iphone 4 at random times, just wont send messages for around an hour even if i have full service, its always up to date so its not that but any help on what this could be? It could just be my network being a pain in the *** but im not sure, help me out here people !

    never had that problem or heard about it so my bet is a network issue

Maybe you are looking for