Toplink returning EST time in GMT

Hi,
I built a CRUD web app using Toplink in NB6.9. It is a UI for an oracle table. When the user edits a record, I am updating the 'LastUpdate' column via code. The problem is that the time is saved in EST, but when it is retrieved back, it shows 4 hrs ahead of EST (which is UTC/GMT).
I am not changing timezone anywhere in my app. I also printed the time zone on one of the pages using TimeZone.getDefault().getDisplayName(), and it says 'Eastern Standard Time'.
When I do a 'select * from table', it shows me the times in EST only. But, when I checked the database timezone using 'select DBTIMEZONE from dual', and it says +00:00. Is it that toplink is converting the timezone because of this? Can I configure toplink, not to check the database timezone?
Please help.
Thanks.

I found the version of toplink - Oracle TopLink Essentials - 2.1 (Build b60e-fcs (12/23/2008))
Here is my latest observation, the problem occurs if my files have a .xhtml extn (i.e. if I'm using facelets). I added one jsp page copied the code from xhtml page (and fixed headers for jsp format) and the time was displayed again in EST. So, is this a known bug or am I missing something?
Both files have the same code, and retrieving the data from same bean. The only difference is that one is .xhtml (prints GMT), other is .jsp (prints EST)
<h:outputText value="#{item.lastUpdateDate}">
  <f:convertDateTime pattern="MM/dd/yyyy HH:mm:ss" />
</h:outputText>Edited by: nrworld on Jul 1, 2010 8:34 AM

Similar Messages

  • Convert local time to GMT

    Hi everybody,
    i receive a lot of operation date from many worldwide ports like these:
    SINGAPORE 23/FEB/2011 13:50 (local time)
    GHENT(NL) 23/FEB/2011 12:00 (local time)
    i'm required to convert these information to GMT date.
    I've found NEW_TIME function but it seems inadequate:
    1) the function does not consider daylight saving periods; i mean when tmz1 switches from daylight savings on to daylight savings off and tmz2 does not, the function does not change the time difference (at least it's the result of my test unless all valid timezones switch at the same time)
    2) valid parameters are 18 therefore they don't cover all the possible combinations
    Could you please help to cope the matter ?
    Many thanks in advance
    Stefano

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by David Hsiung ([email protected]):
    How can i convert local time to GMT time in
    the Form?<HR></BLOCKQUOTE>
    David,
    there is a date function caled NEW_TIME that should work. For ex:
    select to_char(new_time (sysdate, 'EST','GMT'), 'HH:MI:SS')
    from dual;
    05:31:00

  • NEW_TIME : Central European Time to GMT

    I execute this request
    SELECT NEW_TIME(sysdate, 'CET', 'GMT') "Central European Time to GMT" FROM DUAL
    =>
    and i have this error:
    Oracle error: ORA-01857: ce n'est pas une plage horaire valide (sev 1, MsgNo 1857).
    So, help please

    Hi
    Check out the Oracle note 102529.1 on new_time
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:9028019237347794912::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,102529.1,1,1,1,helvetica
    which basically says that new_time supports only a limited set of time zones (USA only + GMT.) CET is not one of them and
    <quote>
    you will need to manipulate the current time via a sysdate function
    SQL> select NEW_TIME(sysdate+1/24,'HDT','GMT') from dual@dblnk2
    Results in 1:00 PM which corresponds to the time in Paris.
    </quote>
    HDT = Hawaiian Daylight saving time (which I hope corresponds to Paris go forward and go backs!)
    Hope this helps
    Ian

  • Xp20:current-dateTime give time of GMT, not of our timezone

    Hi,
    process call xp20:current-dateTime(), this function give time of GMT, not of our timezone(China, GMT+8).
    for example, I call it at 10:20AM, but it return 2:20AM.
    I have edit opmn.xml, at oc4j_soa instance, add "-Duser.timezone=GMT+8" in java-options, restart soa suite.
    but not take effect.
    the server is SOA Suite 10.1.3.3 on Windows 2003.
    any suggestion is welcome.Thanks

    Thats great but what is the timezone of your server where soa suite is installed. Also what is the timezone of the dehydration store server?
    cheers
    James

  • Need to convert time to GMT or UNIVERSAL CO-ORDINATED TIME

    Hi,
        I need to convert a date and time to UNIVERSAL CO-ORDINATED TIME or GMT. Is there any function module to do the same. Please do let me know.
    TIA
    Gurpreet

    Hi,
    Here is the example program to conver the time to UTC
    DATA: time_stamp TYPE timestamp,
           dat TYPE d,
           tim TYPE t,
           tz   TYPE ttzz-tzone,
           dst (1) TYPE c.
    tz = 'UTC '.     " You need to maintain the ZONE
    time_stamp = 20030309033000.
    CONVERT TIME STAMP time_stamp TIME ZONE tz
            INTO DATE dat TIME tim DAYLIGHT SAVING TIME dst.
    WRITE: /(10) dat, (8) tim, dst.
    time_stamp = 20030309043000.
    CONVERT TIME STAMP time_stamp TIME ZONE tz
            INTO DATE dat TIME tim DAYLIGHT SAVING TIME dst.
    WRITE: /(10) dat, (8) tim, dst.
    Regards
    Sudheer

  • Why does getdate() function return same time value for multiple select statements executed sequentially

    When I run the following code
    set nocount on
    declare @i table(id int identity(1,1) primary key, sDate datetime)
    while((select count(*) from @i)<10000)
    begin
    insert into @i(sDate) select getdate()
    end
    select top 5 sDate, count(id) selectCalls
    from @i
    group by sDate
    order by count(id) desc
    I get the following results. 
    sDate                   selectCalls
    2014-07-30 14:50:27.510 406
    2014-07-30 14:50:27.527 274
    2014-07-30 14:50:27.540 219
    2014-07-30 14:50:27.557 195
    2014-07-30 14:50:27.573 170
    As you can see the select getdate() function returned same time up to the milisecon 406 time for the first date value.  This started happening when we moved our applications to a faster server with four processors.  Is this correct or am I
    going crazy?
    Please let me know
    Bilal

    Observe that adding 2 ms is accurate only with datetime2.  As noted above, datetime does not have ms resolution:
    set nocount on
    declare @d datetime, @i int, @d2 datetime2
    select @d = getdate(), @i = 0, @d2 = sysdatetime()
    while(@i<10)
    begin
    select @d2, @d, current_timestamp, getdate(), sysdatetime()
    select @d = dateadd(ms,2,@d), @i = @i+1, @d2=dateadd(ms,2,@d2)
    end
    2014-08-09 08:36:11.1700395 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    2014-08-09 08:36:11.1720395 2014-08-09 08:36:11.173 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    2014-08-09 08:36:11.1740395 2014-08-09 08:36:11.177 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    2014-08-09 08:36:11.1760395 2014-08-09 08:36:11.180 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    2014-08-09 08:36:11.1780395 2014-08-09 08:36:11.183 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    2014-08-09 08:36:11.1800395 2014-08-09 08:36:11.187 2014-08-09 08:36:11.170 2014-08-09 08:36:11.170 2014-08-09 08:36:11.1700395
    DATE/TIME functions:
    http://www.sqlusa.com/bestpractices/datetimeconversion/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How do get current date/time in GMT?

    Is there any way to get the current date and time in GMT (while my current locale is not GMT)?
    In Java I can do this:
    long currenttime = System.currentTimeMillis();
    java.text.SimpleDateFormat df = new java.text.SimpleDateFormat("yyyy/MM/dd HH:mm:ss z");
    df.setTimeZone(java.util.TimeZone.getTimeZone("GMT"));
    java.util.Date date = new java.util.Date();
    date.setTime(currenttime);But, there seems to be no way to do the equivalent in BPEL in SOA Suite.
    I did some research and I think I could appy the XPath 2.0 function adjust-dateTime-to-timezone() to the current time, but that function is not available.
    Using SOA SUite 11.1.13.0.
    THanks.

    have you tried changing the stylesheet version in the xsl to 2.0 and then try the function again ?
    by changing this version it was possible to use newer functions, which weren't available in the designer

  • Function Module To Change TIME from GMT to CST

    Hello All,
    Can anyone tell me if there is any Function Module to convert the TIME from GMT to CST?
    Regards

    Hi Sunil,
    use the following code.
    DATA :
      timestamp like TZONREF-TSTAMPS,
      time      like sy-uzeit,
      date      like sy-datum.
    The following function module is used to convert the
    time and date into GMT timestamp
    CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'
      EXPORTING
        i_datlo           = sy-datum
        i_timlo           = sy-uzeit
        I_TZONE           = 'INDIA'
    IMPORTING
       E_TIMESTAMP       = timestamp.
    The following function module is used to convert the
    above obtained timestamp to PST timezone date and time.
    CALL FUNCTION 'IB_CONVERT_FROM_TIMESTAMP'
      EXPORTING
        i_timestamp       = timestamp
        I_TZONE           = 'CST'
    IMPORTING
        E_DATLO           = date
        E_TIMLO           = time.
    write :/ 'Date and Time at PST zone is ',date, time.
    Reward if helpful.
    Thanks,
    Naveen.

  • Convert Local Date and Time into GMT

    In Oracle how to convert date & time in GMT. Suppose the input will be local date & time e.g. ‘IN’, ‘15/11/2010 15:20:30’ ( country Code, DD/MM/YYYY Hr:Min:Sec in 24hr format) output should be in GMT format.

    I don't think this should be in the OLAP subforum. At least try to look for the correct section before posting next time.
    Apart from that, you can try a combination of the From_Tz and Tz_Offset functions.
    http://www.techonthenet.com/oracle/functions/from_tz.php
    http://www.techonthenet.com/oracle/functions/tz_offset.php
    I hope it helps.
    Joan

  • Your information has been sent to our customer service department. We will review your case (est. time 72 hours) and take action as necessary.

    ''locking this thread as it is not a Firefox support issue''
    Your information has been sent to our customer service department. We will review your case (est. time 72 hours) and take action as necessary.
    == URL of affected sites ==
    http://

    Try getting help from Facebook. Those aren't Firefox support issues.

  • HT1349 I'm trying to download the new iOS 7.0.6 but it isn't loading and says "est time remaining". How do I cancel?

    I'm trying to download the new iOS 7.0.6 but all I get is "est time remaining" message. I want to cancel but don't know how.

    Hello, Rpodol5678. 
    Thank you for visiting Apple Support Communities.
    The download times can vary depending Wi-Fi download speed and device space.  The best option would be to download and install the update via iTunes on a computer.  Here is some helpful information regarding updating your device.
    Update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/ht4623
    Cheers,
    Jason H.

  • Outlook Client recurring appointments time zone / GMT offset problem

    I will try to describe this with text, although it's a very visual problem.  I added a post to my blog with
    it so I could include pictures.  If you think you need pictures to understand the text below, please review that entry.  Please note, the one appointment instance cited below, is an example, there are many others with this same problem,
    and it only happens with recurring appointments.
    Relevant System Information:
    Windows 7 Utlimate
    Office 2010 Professional Plus (14.0.6023.1000 64-bit)
    Exchange services hosted by Microsoft.
    Android HTC Inspire 4G also configured as exchange active sync client.
    Issue Description:
    I have a specifications meeting that is scheduled for Tuesday mornings (every 2 weeks) at 8:30 am.  In the body of the appointment, it even has this text spelled out.  "When: Occurs every 2 weeks on Tuesday effective 11/23/2010 from 8:30
    AM to 11:30 AM (UTC-05:00) Eastern Time (US & Canada)." as an indicator of the actual appointment time.  The problem is that one day, several weeks after this appointment had been sent to me, Outlook 2010 decided that it was really at 1:30 PM. 
    Since that time it's been showing incorrectly on my calendar at 1:30 PM.   So, I recognized almost immediately that this was a 5 hour difference, which happens to also be my timezone offset (except that I'm currently in daylight savings time -- so
    it's really a -4 offset right now).
    I ran the 2010 service pack 1 installer, based on the suggestion of my IT group, and found I already had the service pack installed.  I've tried the timezone tool as well and that didn't work.  Please keep reading.
    Next I went to my exchange host with outlook web access.   The appointment is closer to correct there, showing at 9:30am.  It think here it almost seems as though it's applying the DST, but not correctly, maybe doubling it?. 
    Meanwhile, back in outlook, if I go to the scheduling assistant and look at my time while making an appointment with other invitees it - much to my surprise - matches the time in OWA, not the time in outlook client.
    Finally, if I go to my Android and look at the appointment, it is correct.  8:30 AM.  
    So to summarize:
    Real Appoinment:   8:30 AM
    Outlook Client Time: 1:30 PM
    OWA / Exchange Time: 9:30 AM
    Android Calendar Time: 8:30 AM
    This applies to many others, this is just a convenient example.
    This applies only to recurring appointments.
    Any help would be very appreciated.
    Thanks,
    Jon

    Status Update, and recommended next steps:
    I opened a ticket with HTC support the day before yesterday (Ticket # 03543601). The initial response was an email reply with the typical level one suggestion to remove and re-add the Exchange ActiveSync account on my phone, and if that didn't resolve the
    issue to do a hard reset and then add the account again. Since I have multiple users experiencing this same issue, where the common denominator seems to be centralized around the move from Outlook 2007 to 2010 and the HTC Gingerbread OS, I convinced them that
    this would not be an acceptable remedy, and my case was immediately escalated without hesitation. I will say that though I don't have a resolution, I'll applaud HTC for not giving me the runaround and giving me a live person who could talk intelligently about
    the issue.
    Today, I received a phone call back on this ticket  from someone in the escalations department at HTC named Travis. After explaining the issue in detail to him and referencing
    this specific thread, he acknowledged that it did in fact sound like a coding issue coming from the device where the value in the “dispidApptTZDefStartDisplay” property was being set improperly by the device/stock email/calendar application in their implementation
    of ActiveSync. He then stated that he would relay this to the developers to look into the issue. He further elaborated that the case would either be in a status of, "this is being looked into", or "We believe this to be resolved in [x] update". He said that
    they will probably continue releasing updates for the Incredible (I did not specifically ask about the Incredible 2), and while the Incredible 2 is definitely slated to get Ice Cream Sandwich, the Incredible one is still in a classification of, "being evaluated".
    Personally, I doubt that the Inc 1 will get ICS, but it is possible. From what I have read, the general stance is that phones will be updated for 18 months after release, and the Inc 1 is 24 months old this month (bummer - I REALLY like this phone).
    According to Verizon and HTC, these are the phones that will get ICS (or Android 4.0):
    Ice Cream Sandwich Coming to Many Verizon Wireless Smartphones
    Android 4.0, Ice Cream Sandwich Updates
    While it is possible that an update will be released for the Incredible 1 to fix this issue, it will likely be months before one is available, so we'll probably have to move to Touchdown for Exchange by NitroDesk in order to resolve this issue....or move to
    a newer phone with ICS 4.0.
    Speaking of which, there is a whole laundry list of issues with Exchange ActiveSync and third-party devices. A number of them are listed in this Microsoft KB article:
    Current issues with Microsoft Exchange ActiveSync and third-party devices
    Per the article:
    Microsoft's recommendation for Android - Upgrade to Android OS 4.0
    Microsoft's recommendation for iPhone/iOS devices - Upgrade to iOS version 5
    So, for anyone on Android experiencing this issue (or others listed in the Microsoft KB above), if your phone is likely to get ICS soon, then you may want to hold on and just be vigilant about checking your calendar on OWA. If your phone isn't slated to get
    ICS or if you can't wait, my recommendation is to get Touchdown for $20. You may still have to delete and re-create appointments that are wrong, but hopefully the issue won't happen any more once you move to Touchdown. And if they do, at least you've got a
    shot at a more rapid fix with a company like NitroDesk. (no offense HTC).
    Good luck. I probably won't post again unless I get notice of a fix for this specific issue or some other significantly useful information.
    Jonathan, MCSE
    For reference, here are other forums where this same issue has been discussed:
    Weird Outlook issue
    Calendar appointments move by 5 hours (or whatever the TZOffset
    is) - ActiveSync issue?
    Outlook Client recurring appointments time
    zone / GMT offset problem (This is the thread that you are presently reading)
    Outlook 2010. Recurring meeting time off by 5 hours, what is the problem?
    Recurring Calendar Appointment shifted 6 hours later in Outlook 2010
    (maybe ActiveSync)

  • NcGetTimer returning OS time with USB-8473?

    I have a opservation I would like to have confirmed.
    When using the ncGetTimer from the CAN Frame API with a NI-CAN USB-8473 I get the OS timestamp in second, and NOT the 8473 timer value. This give me a very bad resolution, as the OS resolution is only a little under 16 ms.
    Can it really be that the ncGetTimer.vi return the OS time and not the time on the card ? or is it a limitation on the USB-8473 ?
    I have done a simple example:
    And from a run with this, it is clear that ncGetTimer.vi is not returning the timer value from the card, but for the OS.
    If this is want to expect from this .vi, then the help should be updated with this kind of limitation.

    Hi dkfire
    Thank you for the detailed description of your observations. The following KnowledBase describe what NI-CAN API functions are supported by the NI USB-847x;
    Which NI-CAN Frame API Functions does the NI USB-847x Device Support?
    http://digital.ni.com/public.nsf/allkb/E1A44077DA6C819186257288006B76D7?OpenDocument
    From the article please note that the ncGetTimer.vi is not supported by your USB-8473, and that is why you will find the behavior different than described in the help file.
    Best regards 
    Anders Rohde
    Applications Engineer
    National Instruments Denmark

  • Message time still GMT in Mail list for CenturyTel users

    (The two previous strands of this question from 2007 have been archived. I'm still running Tiger.) In the MacMail list of incoming messages, every message from CenturyTel, even from my husband across the room, is listed with the time as GMT , not the PDT everything else shows. So, of course, it fouls up the order of receipt of messages. While I'd like to blame CenturyTel, and have asked a tech. about it and got nowhere, the time is translated correctly if I receive messages using Thunderbird. So I think it is an error in MacMail. Long headers look fine. Any ideas? I may just move on to Leopard in hopes it is not plagued by this irritating snag. Thanks for your comments.

    After updating my iMac to OS 10.5.6 the problem disappeared. 'Just a bug I've left behind in 10.4.11. So I'll call it solved.

  • How do you return System Time of the local box in FTP command

    How do you return System Time of the local box in FTP command... since I want to output the system time of my local box copying to the FTP server...

    Its asking me to enter a new date... I actually want to return it into a log file since I am using ws_ftp.... but the log files dont have any date time being returned... i just want to be able to echo that date time into the log file... but it doesnt do that... I also tried
    SHELL ECHO %DATE% %TIME%
    but it returns this in the log file
    Processing Line 10 [SHELL ECHO %DATE% %TIME]
    I also tried in my ws_ftp script and it says:
    Processing Line 15 [!Date]
    Sending command [!Date] with parameter []
    !Date
    500 '!DATE': command not understood
    Failure in command [!Date]

Maybe you are looking for

  • Crystal Reports for VS2010 Prerequisites for ClickOnce Deployment

    I keep getting this Error when publishing my application with clickonce even though I have Crystal Reports for VS2010 installed: I want the prerequisites to be downloaded from the same location as my app. Publishing fails with the following error. Th

  • How can you repair a MacBook air when it won't start properly?

    My MacBook Air is just over 3 years old and thus out of warranty. It gives a message that says the Preference Pane cannot be opened. Mostly the screen is black but sometimes (oddly) Adobe Bridge has a window ... but I cannot move to any other applica

  • Windows 7 Image Deployment Failed in HP model D530 using MDT 2012 and ADK 8.0

    Hi, I need your help to sort out the following issue. I have installed MDT 2012 +ADK 8.0  and created Windows 7 32 bit OS from CD in the deployment share and tried deploying the raw OS from Deployment Share in to a reference machine (HP D530) ,the de

  • Really stuck with iPad mini since iOS7 download

    I downloaded iOS7 onto my iPad mini last night, when I woke up this morning the passcode no longer worked. I cannot get into the iPad to shek the IMEI number (something Apple don't seem to be able to talk to me without), I didn't set up the mini by s

  • DEBMAS with only part of contact persons?

    Hi there, if we send in a DEBMAS IDoc that contains only a subset of contact persons of a customer, the inbound process will remove all other contact records from KNVK. We tried different MSGFN values, without success. Is there any way we could send