What is my Db timezone?
Hi,
i want to find out if my DB is in GMT timezone or Buc/France timezone.. i gave this query:
SQL> select DBTIMEZONE from dual;
DBTIME
+02:00
I also tried to query NLS parameters but in value column its blank..
pls help
thx
SQL> select * from database_properties;
This may help you.
Bhupinder
Similar Messages
-
Transitions property in TimeZone
What is transitions in TimeZone?
sun.util.calendar.ZoneInfo[id="HST",offset=-36000000,dstSavings=0,useDaylight=false,transitions=8,lastRule=null]
sun.util.calendar.ZoneInfo[id="Etc/GMT+10",offset=-36000000,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
Are two timezones equal if transitions are different? How does it effect real time in these time zones?anybody?
-
HP Thinpro t5565 Timezone Redirection issue
Hi
We are having an issue with our thinclients (using timezone redirection on a terminal server) showing the wrong time. The problem is, the timezones are set via the Thinpro operating system as GMT+10: Australia/Brisbane ... we have thin clients in both Brisbane and Melbourne logging onto our terminal server.
Melbourne and Brisbane both reside wihin the GMT+10 timezone (which is what is read by timezone redirection), but unfortunately there is no way to tell the Thinpro operating system that the thin clients are actually in Melbourne and not in Brisbane?
Any ideas?
Kind regards
Luke HoganHi guys,
These units are some of our business models.
You might get a more accurate answer if you post in our business forms.
Here is a direct link to the forums.
Have a good day. -
Raw and CR2 files won't sort by time
I recently shot a wedding with my Nikon while my second shooter shot with her Canon. We made sure the times were the same so that Lightroom could work its organization magic. After I uploaded them, the CR2 files showed up above the Raw files. All of the images are in one folder and I have it set to Sort by Capture Time, but they will not mix together according to their times.
When I uploaded my Nikon images I realized that my year was off. It was set to 2010 instead of 2011, so I changed the metadata accordingly and it changed to the correct year for all of my Nikon images. I uploaded the Canon images after that incident, but they still won't sort by time. Do you think that metadata change has something to do with the images not mixing together or it is the file names?
There are about 1400 images all together it will be quite an exhausting experience to have to organize them myself. So I would definitely appreciate some help!
Thanks!!
RuthCheck the timezone of each filetype.
The US is several hours behind GMT so if the corrected NEFs are GMT-relative while the CR2s are US-time-zone-relative that could explain the issue, or maybe one camera had timezones set on it and one didn’t and the difference has nothing to do with the metadata correction you did.
Did your metadata correction update the headers of the RAW files, themselves, or just LR’s internal information in its database and/or XMP files?
If the RAW files were modified, check the timestamps with EXIFtool:
http://www.sno.phy.queensu.ca/~phil/exiftool/
If only the LR-stored metadata was modified, not the RAW files, themselves, then create an XMP file for one CR2 and one NEF taken about the same time, using Metadata->Write Metadata to File(s), and examine the two XMP files in a text editor to see what the timestamps and timezones say. -
Hi all,
I would like to parse a time (00:00:00) in String format into a Date obj. I am using the following code to achieve it. however, the result come out is not what i expect.
String fromTimeStr = "00:00:00";
TimeZone sg = TimeZone.getTimeZone("Asia/Singapore");
System.out.println("Timezone "+sg);
SimpleDateFormat DF = new SimpleDateFormat("HH:mm:ss");
DF.setTimeZone(sg);
Date time = DF.parse(fromTimeStr);
System.out.println("DAte time"+ time);the output is as followed:
Timezone sun.util.calendar.ZoneInfo[id="Asia/Singapore",offset=28800000,dstSavings=0,useDaylight=false,transitions=8,lastRule=null]
DAte timeThu Jan 01 00:30:00 GMT+08:00 1970
From what i know, the timezone of Singapore is fallen within the GMT+8 zone; thus the result should be Jan 01 00:00:00 GMT+08:00 1970
My system timezone is "Kuala Lumpur\Singapore GMT+8".
Could someone enlighten me what there is 30 minutes extra from the output.
Thanksjnaish wrote:
This is basically what I'm doing:
package test;
import java.text.SimpleDateFormat;
import java.util.Date;
public class DateFormatError
private SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
private Date dateOfBirth;
public static void main(String[] args)
DateFormatError x = new DateFormatError();
x.run();
public void run()
String dob = "10/06/1989";
try
dateOfBirth = sdf.parse(dob);
catch (Exception e)
sdf.format(dateOfBirth);
System.out.println(dateOfBirth.toString());
}Edited by: jnaish on Feb 4, 2009 12:07 PMHey jnaish, thanks for the SSCCE, but your problem is probably already resolved after phdk's post. Just a small side note: never "swallow exceptions". Never ever! To "swallow an exception" is this:
try {
// something that may throw an exception
} catch(AnException e) {
// do nothing with it: ie, swallow it
}because whenever something goes wrong, you will not notice it since nothing is even printed to the screen: this makes debugging your code very hard! Always at least print the stack trace:
try {
// something that may throw an exception
} catch(AnException e) {
e.printStackTrace();
}so you will see some helpful message on your screen when something goes wrong.
Good luck! -
SEVERE: DB Error during import of BC_SL_ACTIVE_PARTS
Hello all,
We are trying to perform the system refresh using sapinst (load based) on AIX/DB2 UDB environment.
During the "Import Java Dump" phase, we are getting the below error;
SEVERE: DB Error during import of BC_SL_ACTIVE_PARTS
SEVERE: Message: The object of type java.sql.Date with the value '2006-06-22 07:
00:00.0' assigned to host variable 5 is not normalized. It must not contain time
components in the time zone running the virtual machine.
SEVERE: SQLState: SAP06
SEVERE: ErrorCode: 1001124
As per the OSS note 915548 we changed the Server & Desktop time zone to GMT+01:00, and started a fresh installation.
However we are still facing the same issue. Does anybody have a resolution for this, if so please help me, I shall definitely reward you.
Thanks in advance.
Regards,
Kiran.Hello,
I've got exactly the same problem.
I was installing a CRM50 Unicode System, using a System Copy procedure.
(Source System platform: Win2003 x86, MsSQL2005, j2sdk-1_4_2_13-windows-i586-p.exe)
Into a Target System Platform:
- Processor Geniune Intel Xeon 3 Ghz x86
- Windows 2003 x64 bits
- MS SQL Server 2005
- j2sdk-1_4_2_13-windows-amd64.exe --> 941595 - Download J2SE 1.4.2 for the x64 platform Java
- j2sdk-1_4_2_13-windows-i586-p.exe
(both Java versions installed, according to the Sap note)
I already did what you said:
- Change timezone
- Uninstall CRM50, using sapinst\Aditional Software Life Cycle Task\...
- Reebot the server
- Staring a fresh installation again
Please advise, I've been working for the last four days on this, with no luck.
Maybe the problem is java version, perhaps j2sdk-1_4_2_09-windows-amd64.exe or another one would be enough, or, I need to reinstall everything since the beginning, including MSSQL2005.
Can someone help us out please, thanks. -
Skype address and time don't match
Hi I am talking to a guy on Skype. He says he is in Canmore Alberta Canada. And the time stamp is correct for mountain time when he calls but the address says Aland Islands. Can skype be wrong or am I being decieved by this guy.
In Skype the location and the timezone can be set to any custom location or time zone you want. I have mine set to Yerevan on one of my accounts to prove to someone that it can say I'm from Yerevan when I'm not. So if someone is constantly changing their location or time zone then I might question their trust. I only converse with people on Skype that I personally know so I could care less what their location or timezone says.
-
URL Decode SSO Token Flag Property IIS 6.0
I have the Policy Agent 2.2 for IIS 6.0 to install. I have been installing the agents before and all of them had the option of URL Decode SSO Token Flag Property (com.sun.identity.agents.config.sso.decode), but I can not find it here. Has it been disabled? I really needed it to get rid of some error. Thank you very much for you help!
Apparently there is no need for such an option. The agent works fine without it. The idea behind the scenes is that I used to get an invalid session and and thought that this could be the problem that the SSO Token does not get decode right, the problem was actually something else.
The time between the Access Manager machine and the Server where IIS is installed has to be in sync. And by that I mean day, year, hour, minutes and this is what I have missed - TimeZone! -
10.2.0.4 upgrade to 11gR2
I am upgrading 10.2.0.4 database to 11gR2 .
10g DB timezone version is 4 . Do I need to have the same timezone version on 11gR2?
What is the default timezone version in 11gR2?Ever read the doc before going to upgrade to a newer version ?
http://download.oracle.com/docs/cd/E11882_01/server.112/e10819/upgrade.htm#CIAFHIBG
Nicolas. -
Session Variables DATA_TZ, DATA_DISPLAY_TZ, how to use them?
Hello gurus
Has anybody ever used DATA_TZ, DATA_DISPLAY_TZ?
Where do I define the content of these 2 session variables? If done in RPD, then how do I define the initialization block logic for it?
What's the idea behind?
How do I apply it in the front end?
Any lights will be appreciated
ThanksThanks for the reply
I saw that document, and then decided to post this question, now you are referring me back to the document. Nice..
Anyways, What I don't understand is where are we applying DATA_TZ, DATA_DISPLAY_TZ?
It doesn't seem to be created in rpd like other session variables.
So if I edit my config files with all of the time zone elements like what the document shows:
<TimeZone>
<DefaultUserPreferred>(GMT-02:00) Mid-Atlantic</DefaultUserPreferred>
<Logging>(GMT-05:00) Eastern Time (US & Canada)</Logging>
<DefaultDataOffset> what do I put here? </DefaultDataOffset>
<DefaultDataDisplay>what do I put here? </DefaultDataDisplay>
</TimeZone>
If I hardcode something, then the displayed data will always be that time zone. But I want it to display dynamically based on user's personal time zone setting in their account.. My analysis is that it has to work based on session variables.
My question is, how do I create these variables? Do I create them in rpd? Or are they already embedded in BI? If so, how would I use them in this case so the server knows to change the variables value based on user's individual account setting?
Thanks for help -
Determining PST time from SYSTIMESTAMP
Thanks to everyone who answered by previous question about SYSTIMESTAMP.
Here's a PL/SQL function I wrote to convert the current time to PST and return it as a DATE value. The idea is that it should work regardless of what the database's timezone is set to.
Any critiques are welcome - efficiency, style, whatever. In particular, is there a way to avoid the conversion to a VARCHAR2? Is there a system supplied function I am overlooking?
Thanks again!
CREATE OR REPLACE FUNCTION PST_SYSDATE RETURN DATE IS
th NUMBER;
tm NUMBER;
now TIMESTAMP(6) WITH TIME ZONE;
d VARCHAR2(200);
BEGIN
now := SYSTIMESTAMP;
SELECT
TO_CHAR(now, 'YYYY-MM-DD HH24:MI:SS'),
EXTRACT(timezone_hour FROM now) TH,
EXTRACT(timezone_minute FROM now) TM
INTO d, th, tm
FROM DUAL;
RETURN TO_DATE(d, 'YYYY-MM-DD HH24:MI:SS') - ((th+tm/60+8)/24);
END PST_SYSDATE;
/You do not need a function for that. Use AT TIME ZONE TZ_OFFSET:
SQL> ALTER SESSION SET NLS_DATE_FORMAT = 'MM/DD/YYYY HH24:MI:SS'
2 /
Session altered.
SQL> SELECT SYSTIMESTAMP EST,
2 SYSTIMESTAMP AT TIME ZONE TZ_OFFSET('PST') PST,
3 CAST(SYSTIMESTAMP AT TIME ZONE TZ_OFFSET('PST') AS DATE) PST_DATE
4 FROM DUAL
5 /
EST PST PST_DATE
08-APR-09 03.25.39.034000 PM -04:00 08-APR-09 12.25.39.034000 PM -07:00 04/08/2009 12:25:39
SQL> SY. -
Confused about the date/time processing logic
Hi Experts,
i've sent this issue to OSS but they replied this is not a bug and not giving me any info, so I'm here ask for help:
(i've got 2 screenshots but it seems there's no upload in the sdn forum?)
we have the equipment warranty master data (check 1.jpg, the Warranties
assignment block)
and there're "Warranty Start" and "Warranty End" dates
we are confused how the data is saved and loaded with the timezones:
(how are the User Timezone & Server Timezone, or any other value related
in the following problems)
1, there're two pairs of columns, the 1st pair only shows date, the 2nd
pair shows the time also. --What's the diffenence?
2, when creating a new warranty master data, the 2nd pair shows the
hour/min/sec(in 1.jpg, "17:00:00"), by what logic, does the hour/min/sec
value come?
(in the 2.jpg, we can see different data with different hour stamps,
how is the value determined?)
3, how about if we use program to write the data, if we put timestamp
20120228000000 in the database, what does that mean to the system(which
timezone means to the system)?
4, when showing the start/end date data, by what logic (using which
timezone value) does the system calculated and then bring to the webUI ? (e.g. at Account Identification, after entered Serial Number in Objects, there're Warranty Start/End date, how's the value calculated?)
Thanks
Kane XuHi All,
Thanks for your deatiled reply, I think the logic is somehow clear for me,
but now I'm facing a strange problem:
as the screenshot shows, the 2nd pair of time(with hour/min/sec) is the UTC time
I found that is stored in table COMM_IL_IOBWTY, the value is exactly the same on UI
we have a program and a FM, both using " CALL FUNCTION 'CRM_IBCWTY_IL_API_CREATE' " staement to write this value.
the program is set as a background job, but for now, at testing period, we run it manually in se38 each time we need
the FM is called from EN_ONSAVE of an OVView page of webUI
in the code, both in the program and in the FM, we put 000000 for hr/min/sec,
they works fine in our dev system, but in qas system,
the FM works fine, and after running the program, the hour value in table(and in webUI) is not zero,it seems changing by user timezone settings.
I'm so confused and tried to debug into the 'CRM_IBCWTY_IL_API_CREATE' and not found any code might be related to timezone.
Do you have any idea why this happens? Thank you!
Kane -
Add Current Date - What timezone is used to display value
When adding the Add Current Date Transformation to get the 'processing date', what determines the date/time that is presented? Where does it pickup the timezone and can this be tailored?
Thanks.Might just be a display issue. Right-click on the date/time in the Results Browser to see the time zone. You can also change your view of the date/time if you want to. A blue dot will appear in the cell to indicate that you are displaying the value in a different time zone.
If you want to process the data in a certain way ('stamp it into a given timezone' different from the server timezone) you could use the data type converters to convert to string and back to date/time with the options set to the timezone you want.
I believe there is a property that can override the Director Time Zone on the server but it is not normally used. -
I just want iCal to keep the same time for appointments no matter what timezone I'm in
I just want iCal to keep the same time no matter what timezone I'm in. Whenever I change timezones, all my appt times change too... please help!
Make sure you set the time zone you want from the drop down menu in the upper right corner?
-
When scheduling a price change for a sale period, what timezone is used?
I'm in Bangkok but I need the pricing to be effective for US customers. If I say start on the 17th and end on the 18th, does it go into effect on my 17th and end on my 18th? At midnight, switching to the 18th, it's still the 17th in the US. The pricing would technically switch back, thus screwing up my sale if I don't get this right. NY is 11 hours behind. CA is 14 hours behind.
For apps, scheduled pricing changes occur at midnight PST (US).
I don't see any mention of that detail in the iBooks FAQ in iTunes Connect, tho, so you may want to ask Apple directly. Use the 'Contact Us' link there.
Maybe you are looking for
-
Thanks for the info, Kyle. I will probably try to find an older 32-bit XP machine. VM is just not an option for me right now.
-
Is this a Bug or am i doing something wrong
Should Get Back ='Here is a test value' What I do get back='Here isa test value' It does the same thing if i do this Should Get Back ='Here is a test value' What I do get back='Here isa test value' declare -- Local variables here Replace_Val VARC
-
Data file time stamp on Logical Standby
Dear All, My Logical Standby Database that is Oracle 10gR2 on Wondows 2003 Server is fully synced with the production database. If i query number of records on Logical Standby they are the same as on production. And when i query applied_time from dba
-
Broken links to photos since iLife upgrade
When I try to open a previously completed project, a window opens with a list of files that cannot be found. If I click Cancel, the project still opens but there are a lot of thumbnails that indicate a broken link. When I click Find File, it runs a s
-
Commit updated date problem???
Hello, I have db block where I execute 14 records at a time (using a where clause in the blocks property pallette) and then update/delete the data.. The block has five coilumns A,B,C,D A,B,C,D are jointly primary key..(i.e. they cannot be repeated co