Time Zone and WLS6SP1 and date time problem

Hi,
We are having our development WebLogic server on a Solaris 2.8 machine. The time
zone of that machine is GMT+5
How ever when we start weblogic in the telnet console, we see this
LD_LIBRARY_PATH=.......
<Jul 5, 2001 1:19:46 AM GMT-05:00> <Info> <Security> <Getting boot password from
user.>
Enter password to boot WebLogic server:
It shows the time as GMT-5.
All our application client machines are at GMT+5.30.So when we update from our
application, the datetime fields go as one day lesser(we have our own serializable
component which does the updating). If i enter Dec 10 2000 in our applet client
and try updating, it goes as Dec 9 2000 into the database.
We tried on a NT machine which had GMT+5.30 as the time zone and it showed GMT+5.30
while starting weblogic. And the dates are updated properly.
Does WLS on Solaris take the timezone,etc from some other place?
Is there any workaround for this?
Thanks in Advance,
Ramkumar

We had the same thing using ReflectionX to connect. Users connection with Telnet
caused weblogic to log with the default timezone ( which included the effects of
daylight savings time ), while those users who connected with Rexec caused weblogic
to use GMT in its logging. This was with weblogic 6.0 sp2
"Joe" <[email protected].spam.com> wrote:
>
How are you starting up your server? We had a similar situation at our
site, and
it was due to the fact that we were using exceed to log into our sun box.
Exceed
was grabbing the users timezone info off of his/her local windows box.
is this what is happening for you?
"Ramkumar" <[email protected]> wrote:
Hi,
We are having our development WebLogic server on a Solaris 2.8 machine.
The time
zone of that machine is GMT+5
How ever when we start weblogic in the telnet console, we see this
LD_LIBRARY_PATH=.......
<Jul 5, 2001 1:19:46 AM GMT-05:00> <Info> <Security> <Getting boot password
from
user.>
Enter password to boot WebLogic server:
It shows the time as GMT-5.
All our application client machines are at GMT+5.30.So when we update
from our
application, the datetime fields go as one day lesser(we have our own
serializable
component which does the updating). If i enter Dec 10 2000 in our applet
client
and try updating, it goes as Dec 9 2000 into the database.
We tried on a NT machine which had GMT+5.30 as the time zone and it
showed GMT+5.30
while starting weblogic. And the dates are updated properly.
Does WLS on Solaris take the timezone,etc from some other place?
Is there any workaround for this?
Thanks in Advance,
Ramkumar

Similar Messages

  • Time Zone for a particular date/time and location

    Hi,
    Consider this:
    You have some date stored somewhere (e.g. in a database), and it is stored in UTC. Now, you want to display that date in the local time at that particular time, e.g. with or without daylight savings depending on the time of year.
    A more concrete example:
    In Perth, Australia, daylight savings goes from Dec to Feb inclusive (approx).
    Now, you have two dates, say 2007-01-01T12:00:00+0000 and 2007-05-01T12:00:00+0000.
    You would like to display these dates as:
    2007-01-01T21:00:00+0900 and 2007-05-01T20:00:00+0800 respectively.
    However, given that the current timezone today (26th June) in Perth is +0800, they will be displayed as:
    2007-01-01T20:00:00+0800 and 2007-05-01T20:00:00+0800 respectively.
    Code for displaying in current timezone follows, as a starting point:
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import java.util.List;
    import java.util.TimeZone;
    public class TimeZoneTestMain
         * @param args
        public static void main(String[] args)
            // UTC timezone.
            TimeZone utcTZ = TimeZone.getTimeZone("UTC");
            // Collection of dates.
            List<Calendar> dates = new ArrayList<Calendar>();
            // Create a date/time - 10 Dec 2005 12pm UTC
            Calendar cal1 = new GregorianCalendar(2005, Calendar.DECEMBER, 10, 12, 0);
            dates.add(cal1);
            cal1.setTimeZone(utcTZ);
            // Create a date/time - 10 Dec 2006 12pm UTC
            Calendar cal2 = new GregorianCalendar(2006, Calendar.DECEMBER, 10, 12, 0);
            dates.add(cal2);
            cal2.setTimeZone(utcTZ);
            // Create a date/time - 10 Apr 2007 12pm UTC
            Calendar cal3 = new GregorianCalendar(2007, Calendar.APRIL, 10, 12, 0);
            dates.add(cal3);
            cal3.setTimeZone(utcTZ);
            displayDates(dates);
        private static void displayDates(List<Calendar> dates)
            DateFormat utcDF = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
            utcDF.setTimeZone(TimeZone.getTimeZone("UTC"));
            DateFormat waDF = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
            waDF.setTimeZone(TimeZone.getTimeZone("Australia/Perth"));
            for (Calendar cal : dates)
                Date date = cal.getTime();
                System.out.println("UTC date: " + utcDF.format(date)
                                   + ", WA date: " + waDF.format(date));
    }Output is:
    UTC date: 2005-12-10T12:00:00+0000, WA date: 2005-12-10T20:00:00+0800
    UTC date: 2006-12-10T12:00:00+0000, WA date: 2006-12-10T20:00:00+0800
    UTC date: 2007-04-10T12:00:00+0000, WA date: 2007-04-10T20:00:00+0800
    I would like the output to be (daylight savings only came in for WA in 2006):
    UTC date: 2005-12-10T12:00:00+0000, WA date: 2005-12-10T20:00:00+0800
    UTC date: 2006-12-10T12:00:00+0000, WA date: 2006-12-10T21:00:00+0900
    UTC date: 2007-04-10T12:00:00+0000, WA date: 2007-04-10T20:00:00+0800
    Cheers

    >
    might be problem with jdk version which you are
    using!!!
    Mine is jdk 5You are right - just tried with 1.6.0_01-b06 and all is good.
    For some reason it didn't occur to me that the other version of the JVM I was using wouldn't have the daylight savings rule, which would make sense since it was released before the daylight saving legislation was introduced by the WA state government!

  • I have a iphone5. I went to dubai there it was working properly. On my way back in the plane i turned the manual time zone selection in the date

    I have a iphone5. I went to dubai there it was working properly. On my way back in the plane i turned the manual time zone selection in the date & time setting and changed it to new delhi. when i landed back and tried to use the vodafone network whose sim is installe in te mobile NO SERVICE showed up. I tried to select the time zone & network selection from the carrier but manual selection is not accepted . I got a tiick mark at the service provider name but still no service status remains. After 2 days In the time zone automatic selection has started working and is showing new delhi but still automatic & manual network selection is not working. NO SERVICE is still shown . I m not able to make any calls. Internet through WIFI is working. Kindly help. 

    Hello, swatiy.82. 
    Thank you for visiting Apple Support Communities.
    I would recommend trying the steps in the article below when experiencing this issue.
    iPhone: Troubleshooting No Service
    http://support.apple.com/kb/ts4429
    Cheers,
    Jason H.

  • 2 time zones during inserting and selecting the data.

    we have applied DST patch and DST JAVA patch sucessfuly on oracle 10.1.0.3 version database . After that we have problem
    It was noticed that it failing for the following 2 time zones during inserting and selecting the data.
    MST7
    HST10
    Please help me to solve this

    Try MetaLink. Lots of hits on ORA-1882.
    Specifically, Note 414590.1 "Time Zone IDs for 7 Time Zones Changed in Time Zone Files Version 3 and Higher, Possible ORA-1882 After Upgrade" sounds promising.
    -Mark

  • I just did something on my mac and now the date, time and battery percentage are in arabic and it says lebanon (arabic) in the language and text preference, how can i change it back to english? ps: i'm hopeless.

    i just did something on my mac and now the date, time and battery percentage are in arabic and it says lebanon (arabic) in the language and text preference, how can i change it back to english?
    ps: i'm hopeless.

    So what you want is for it to say Lebanon (English)?  If so, see if this helps:
    http://m10lmac.blogspot.com/2012/05/fixing-custom-english-region-settings.html

  • Tried to restart and reset but phone just turns on and displays larga date time with no slide to unlock control visible

    phone is locked up. turned off and tried tried reset several times, phone displays larger font date/time screen but no slide to unlock control is visible

    Try placing the iPod in ecovery mode and then restoring the iPod via iTunes.  For recovery mode see:
    iPhone and iPod touch: Unable to update or restore
    Next would beto wait for the battery to fully drain and the charge and try again.

  • Reminder app on my IPad and IPhone loses date/time

    I had entered 6 items in the reminder app a while ago.  Noticed lately that I have gotten no reminders.  Opened the app and found the date time for 5 items have completely disappeared.  The one that remained has an alarm date in December 2014. 
    So I did some testing.  I successfully created a new item,  entered an alarm date time, touched the Done word on the top to save.  Date time are now shown for this new item. 
    Now I added a second new item.  Repeat the process successfully.  Returned to the List screen.  Date time for the second new item are  shown, but the date time for the first new item have disappeared. 
    Unbelievable.  So I repeat the by re-entering the date time for the first new item, and when I went back to the List screen, the date time for this item are there, but date time for the second new item are now gone.
    Now I quit the app altogether (not just putting it to sleep), and when I open the app again, the only item with date time is the one due in Dec. 2014. The 2 new items have no dates and times!
    Any one has any ideas why?  I am using ios7.1
    I was connected to the internet and iCloud when I set the alarm date and time

    Try this. http://www.apple.com/feedback/itunesapp.html
     Cheers, Tom

  • Get date from Oracle when local time zone is different from Oracle time zon

    Hi!
    Local machine time zone= +2
    Oracle time zone= +1
    I set date to Oracle using java.sql.Date.
    From application I save date at 00:30 clock and send e.g. 28.06.2002, but in Oracle date is save as 27.06.2002 01:00 (hour=01 , I suppose that is because java.sql.Date hasn't time the Oracle set it time = time zone=+1) And when I get date from Oracle I get incorrect date. In SQL I don't use date masks. Maybe solution is to use java.sql.Timestamp object (when save date to Oracle) instead of java.sql.Date?
    But if I save date at e.g. 01:00 clock and send e.g. 28:06.2002 in Oracle, date is save as 28.06.2002 01:00 and when I read from Oracle I get correct date.
    Thank you.

    Hi!
    Local machine time zone= +2
    Oracle time zone= +1
    I set date to Oracle using java.sql.Date.
    From application I save date at 00:30 clock and send
    e.g. 28.06.2002, but in Oracle date is save as
    27.06.2002 01:00 (hour=01 , I suppose that is because
    java.sql.Date hasn't time the Oracle set it time =
    time zone=+1) Presumably you are using setTimestamp() to store the value. If you are explicitly using a varchar (string) then you will have to correct the timezone your self.
    And when I get date from Oracle I get
    incorrect date. In SQL I don't use date masks. Maybe
    solution is to use java.sql.Timestamp object (when
    save date to Oracle) instead of java.sql.Date?The method setDate/getDate store a 'date' which is not the same as a 'date and time' for which setTimestamp/getTimestamp are used.
    But if I save date at e.g. 01:00 clock and send e.g.
    28:06.2002 in Oracle, date is save as 28.06.2002
    01:00 and when I read from Oracle I get correct date.
    Thank you.

  • Time zone used fot GI/MAD time calculation

    Hi,
    We have been trying to define working shifts/ cutoff for shipping points. While scheduling SAP is using the user time zone to calculate the MAD time, GI time etc. I need it to use a specific time zone that I define and not the time zone of the user processing the document. There is a field for time zone at the point where we allocate the shift definition to the calendar but it is not working. Is there anyway to achieve this ? The strange part is that it is not considering the Planr or shipping point time zone , but the user time zone to do all calculations.
    Thanks,
    Hari.

    Dear Hari,
    Usually in SAP logisticss the standard is to take date and time from the
    location where the user is located, there is reasons for it for example
    imagine the case below:
    "A user is working in time zone EST (GMT-5h), the shipping point is in
    time zone CET (GMT+1h). At 11 p.m. the user enters today's date,
    May the 9th, 2011 as actual goods movement day. The system now
    calculates the date using the time zone of the shipping point and
    determines 05:00 CET as actual goods movement time. But this time
    refers to May, the 10th. After pressing <enter>, the date and time would
    again need to be adopted which is confusing for the user.
    If the date is kept unchanged, it is also not correct as then the date
    is in the past (May, the 9th, 05:00)."
    There is not a possibility to of one this system behavior in a way
    that suits fine in every situation.
    I have researched and found the following information though:
    If you enter a time in the dialogue it is independent where the user is.
    The systems takes it as time zone of the shipping point as long as the
    time zone is maintained there otherwise, the local time zone is taken.
    There is no calculation on the user input programmed as a date change
    could lead to confusion...
    Since the existence of the note 1596670 if you enter a time in the dialogue
    it is independent where the user is.
    Best Regards,
    Christian Rosa

  • How can I change the time zone while not changing the time

    Let me preface this by saying I know this may seem tiddling to many but it is somthing I am rather obsessive about.
    I took many photos while I was in Los Angeles.  I had changed my camera's clock and the clock in the MacBook Pro to Pacific Standard Time and my iPhone automatically did the same thing. When I loaded photos into Aperture on my MacBook Pro the time information was all correct, all photos tagged in PST.  I had some photos I took on my last day that I did not load into Aperture until I got home to Denver.  When I loaded these images into Aperture they still have the correct time that they were shot but now show as being taken on Mountain Standard Time.  If I change the time zone in Aperture then the image time is also adjusted to be one hour earlier.
    Is there any way I can change the time zone in Aperture while leaving the actual image time alone?

    Hello Mark,
    Aperture will display the "Date created" with respect to the time zone your system is set to, but the "Date" using the time zone the image was taken in.
    You can adjustthe Time Zone for individual images either on import or afterwards using batch change:
    Select the images you want to adjust, then select "Metadata -> Batch Change" from the Aperture Application menu:
    Click: Adjust Time Zone
    Set the Camera's Time Zone to the Time zone you set your camera to when you took the images, and the Actual Time Zone to the zone you want Aperture to use to display the date.
    Regards
    Léonie
    P.S:
    This works with most cameras, but there seems to be a bug with canon cameras when importing directly from the camera. Frank Caggiano recently started a thread, but right now I cannot find the link.

  • E-mail trigger delay - Time Zone (CET) ahead of System Time (UTC)

    Hi,
    We have developed a Z program which triggers e-mail whenever the critical System / Interface user id gets locked in the SAP Netweaver System. However, the e-mail is generated by the program in the Time Zone which is in CET and sits in t-code SOST and is sent to our mailbox in System Time which is in UTC (GMT) which is currently 2 hours behind. Hence, there is a delay of 2 hours for generated e-mail alert to be sent to our mail box. Is there any process to avoid this delay?
    In the test system manually we can reduce the wait time by 2 hours in t-code SOST and then the mail gets triggered immediately. But can this be achieved programmatically so that the time in which e-mail gets generated always displays the system time in t-code SOST. Or, is there is a configuration where the e-mail is sent to our mail box from t-code SOST in Time Zone (CET) itself and not wait till the displayed time reaches System Time (UTC).
    Thank you very much for your earliest response.
    Regards,
    SANJEEV KUMAR

    In t-code STZAC both System Time and Useru2019s Default Time Zone is same (CET).
    However, when I see in the menu System->Status I find the System Time is displayed in UTC, while Time Zone is in CET.
    In other clients where system time is displayed in CET, there is no problem. The e-mail spool from SOST which displays CET time is actually triggered in the System Time. In case the System Time is CET, mail is triggered immediately. In case System Time is UTC, it waits UTC time to reach the displayed CET time, which is currently of 2 hours gap.
    Is it possible to change the system time of the problematic client to CET to solve this problem. Please let me know what configuration can be done for this.
    Regards,
    SANJEEV KUMAR

  • OS has wrong time zone, so db has wrong time zone after RAC db installed

    hi Guru, after the RAC db installed, and it is a alive production DB, then I realized that the os has wrong time zone which is MDT (mountain time), I want it as CDT, so I am planning to ask sys admin to change os to CDT, then I just need to bounce the db once os time zone changed? Is that right? that won't corrupted the db after os time zone change right? And this is 2 nodes RAC db, anything I need to be aware before os level timezone change?

    Hello;
    Fix the time on the OS and restart the database and you should be done. Simple as that. So to answer your question Right.
    Best Regards
    mseberg

  • How to "In Effect" Turn Off Time Zone on iCal AND main computer

    I am hopeful that this will help those of us who don't want to have any form of Time Zone on our computers or iCal. I read some of the other posts and see that it does not appear an option to completely turn off all Time Zones on the computer and iCal.
    What I am thinking about doing, is trying to "Trick" my computer & ical into thinking it doesn't ever go anywhere and thus leaves all of my appointments where they are - no matter what time zone I am actually in.
    I hope those of you more knowledgable can please help me see if this will work, or not?
    I am hoping that by leaving Time Zone Support turned "Off" in iCal and leaving my computer at a 'manual' Mountain Time Zone (meaning I don't have it set to have it automatically set to the right time - I will set it manually), my appointments will stay put (not move around 8 hours when I go to Italy &/or back to the US)?
    I can set the time "manually" to the correct time when I am in either US or Italy so my computer will reflect the current time, but still be set in Mountain Time Zone? Will the alarms still work on calendar events?
    The only drawback I can see so far, is that all of the times on emails are messed up (i.e., off by 8 hours) when I am actually in Italy because I still do have the main computer time zone set as Mountain Time - US.
    I am willing to live with this (I think?) if it leaves my appointment times alone.
    Someone on a similar thread had wanted iCal to function like a paper planner - that is exactly what I am looking for as well! (it looked like that thread was a bit older, so that's why I posted this new question. It is my first on this type of forum, so forgive me if I am doing something wrong - and please advise! :~)
    PowerBook G4   Mac OS X (10.3.9)  

    I am being driven crazy by, what I suppose to be, the same issue. I have used the Time Zone Support feature to somewhat limited success.
    I frequently travel between different time zones am confused on how to set up iCal to show the times of my events *in the place where they occur*. When I am in LA and I have a concert in Chicago later in the week, I don't need to know what time the Chicago concert is in LA.
    Syncing my Treo 650 adds another problem. Publishing the calendars adds another as the published times are not listed in the time zone where the events occur but rather what time zone my laptop is in.
    This seems simple to me, but I may be missing something. Here are my wishes:
    1. As I travel with my MacBook Pro that I can change my Date and Time preference to actually list the time zone where I am. Easily done...but...
    2. That the event times in iCal are unaffected by the changing of the Date and Time preference adjustment...(after all the concert in Chicago is still at 3pm on Friday, even if I am in Tokyo on Monday. I need to know the time of the Chicago concert in Chicago time, not Tokyo.)
    3. That calendars that I publish list the time in the place where the event occurs. I have students that need to know their lesson times but are consantly confused because the published times reflect whatever time zone I happen to be in...not where the lessons take place.
    4. That when I sync my Treo the event times automatically adjust to whichever time zome the treo picks up off the network time server. When I land in a new time zone, I need to know the the rehearsal starts at 10, in the city where I have just arrived.
    I have recently switched to the Apple PIM apps from Entourage...where, if I never changed the time zone, everything was fine.
    Sorry for the longish cry for help.
    Thanks

  • Time-zone independent events and events that span timezones

    Hi.
    I use Calendar rather heavily.  In fact, I have events in my calendar that date back from 1995 or so that have migrated forward from my Newton through Palms and Blackberries and now to iPhones - some migration or coexistence between the Mac and these devices was painful, to say the least.  But, I digress...
    For the record, I have Time Zone Support off on my iPhone and iPad.  It's also off in Calendar on my Mac; the Mac is my 'authoritative' source of calendar (and address book) info.  When I move, it changes timezones.  For the most part, the iPhone and iPad do the right thing for events that have actual real times to them such as meetings.  If I'm supposed to be on a phone call at 7AM Seattle time, when I go to Boston, I need to be on at 10AM and it does all the devices do the right thing with those events.
    But, I want to create a recurring (daily) calendar event that happens at the same local time every day, regardless of what timezone I'm in.  For example, I create such an event in Seattle for 9AM Seattle time (PT).  When I go to Boston, I want it to happen there at 9AM ET; and the same if I went to India - 9AM IST.
    Any thoughts?  I live with this inconvenience for other things working quite well.
    My other desire is when, for example, putting airplane trips into the calendar.  I'm in Seattle and putting in Alaska Airlines Flight 12 which departs Seattle at 9:05AM PT and arrives at 5:34PM in Boston (ET).  It would be wonderful, if for the the start and end times for event scheduling, there was a pull-down or scroll-wheel from which one could select the time zone.  Now, I have to do the calculation and do 9:05AM departure and 2:34PM arrival.  It's gets a little more difficult when one is going to places where daylight savings is not observed or if you are unfamiliar with the time differences (as when flying direct from the US to India).
    Any thoughts on this problem??
      aps.

    Hey Armando Stettner,
    Thanks for the question, and what a great question it is!
    With time zone support on, you can edit an individual event and change the time zone for that event. This list will include options for your default time zones, UTC, and "floating" - the latter of which is what you are looking for. Floating changes the event to occur at the specified time, local time.
    For information on changing an event's time zone, see the following resource:
    Calendar: Change an event’s time zone
    http://support.apple.com/kb/PH11531
    I look forward to hearing how this works for you.
    Cheers!
    Matt M.

  • Time Zone Management iCal and iPhone

    I have a vacation coming up from California, to paris, to london, to Ireland, to Chicago,to Detroit and finally California. I think that's 5 time zones. I have all of the events schedule in times that would reflect the time zone that I will be in. But there are lots of settings in ical and the iphone (no/yes time zone support, floating time or time zone of the event.
    How do you travelers set this stuff up and use it effectively?

    A restore of my iphone solved my problem.

Maybe you are looking for