Date Picker shows displays wrong timezone after Apex 2.2 upgrade
After upgrading from 2.0 to 2.2, all date pickers in all applications now display the time in GMT instead of GMT - 7.
For example: before upgrade 08/03/2006 9:00 -- after upgrade 08/03/2006 16:00.
The date and time on the server is set to GMT - 7. The database displays GMT - 7 in all other non-Apex apps.
I suspect there's a global preference that needs resetting, but I can't find it.
Cheers,
Jaime
Hi Jaime,
What you are witnessing is a feature and not a bug. Shame on us for not making this change in behavior more prominent. But this feature ultimately emanated from the posting at:
Re: Date Picker and timzone
In Application Express 2.2, if you are using a DatePicker, the current date and time will be computed based upon LOCALTIMESTAMP. LOCALTIMESTAMP is time zone aware. By default, it will use the database's time zone.
To control the user's time zone setting in your application, you could add a before-header application-level process (and, ultimately, another one on Submit) to issue a PL/SQL statement like:
execute immediate 'alter session set time_zone = ''America/New_York'' ';Note:
1) Those are sets of two single-quotes around America/New_York, not double-quotes
2) Obviously, you'd replace America/New_York with your favorite time zone. The full list is at:
http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14225/applocaledata.htm#sthref2012
As a quick demonstration, run the following block in SQL Commands on apex.oracle.com or your favorite APEX instance:
begin
dbms_output.put_line( 'LocalTimestamp Before: ' || localtimestamp );
execute immediate 'alter session set time_zone = ''America/New_York'' ';
dbms_output.put_line( 'LocalTimestamp After: ' || localtimestamp );
end;
/I hope this helps.
Joel
Similar Messages
-
Evolution-2.8 Displaying wrong Timezone
Hi all,
I've been seeing some weirdness with evolution-2.8 and timezones since the change on Sunday (EST to EDT). I'm running against an exchange server for my calendar and mail.
My system date is shows the correct timezone as EDT. Evolution, however, does not seem to acknowledge the timezone change and shows its time wrong (red line in calendar is one hour behind). Appointments are getting messed up with this as well.
Has anyone seen a patch or know of a fix for this? My system is current to today.
Thanks
NormUpdate -- this is from the Evolution mailing list:
Heya,
Evolution uses it's opwn time zone data. Update Evolution package ,
restart and check again.
On Mon, 2007-03-12 at 19:31 -0400, Paul Smith wrote:
> Something is weird. I have my timezone set to America/New_York in
> Evolution and on my system. I'm using Ubuntu 6.10 with full updates,
> with Evo 2.8.1.
>
> After the timechange on Sunday, my entire system had the right time,
> EXCEPT Evolution. The little red line in the Calendar was 1 hour
> behind.
>
> I exited and restarted Evo, but that didn't help. I logged out and back
> in, and that didn't help. I rebooted my system, and THAT didn't help.
> My system clock and the clock on all apps I've checked is correct, but
> Evo calendar still says it's quarter after 9am instead of quarter after
> 10am.
>
> Is Evo using its own internal timezone calculations instead of the
> system timezone for some utterly bizarre reason? What could be causing
> this?!?!
>
I'm up to date though -- where is the new update for this?
Norm -
Date Picker - show specific month of perticaular year
Hi Experts,
I am using sam.m.DatePicker control. By default date picker show current month-year when user open date picker. I want to show specific month of specific year when date picker is open.
for eg: In my app, if student appearing for next year exam(say 2016) then when he click on date picker it should show April of 2016 instead of april of 2015. I don't want to set date by default. Student should select that date manually.
Is it possible to show specific month and year for date picker when it open.
Thanks in advanced.Hi,
you can also give a default date of the first date of that month.
Why you are not using that?
var datePicker = new sap.m.DatePicker({
valueFormat: "yyyy-MM-dd",
displayFormat: "long",
value: "2014-03-26"
Regards
Dhananjay -
ipad 4 retina display is slow after iOS 8, also upgrade to iOS 8.0.1 i think and safari is slow, animations are slow, and i can't restore it to iOS 7, there it was great. i mean its like my iphone 4 with iOS 7 in its best days. i hope no to get stuck again, i mean please let me go to the iOS 7)).
Upgraded my ipad4 from ios6 to iOS 8 because the new WSJ app required it. HUGE MISTAKE!!!!!!! I can maybe understand some apps being slower but not Safari or Chrome. Apple must be throttling back the ipad4 processor even more with ios8 to force an upgrade to the next gen iPad whenever it arrives.
-
Date picker not displayed--OAF
Hi
I have a messagetextinput field on my page which is intially rendered false.
In process request i am setting the the rendered property to true and datatype to DATE by coding as below:
OAMessageTextInputBean bean1 =
(OAMessageTextInputBean)webBean.findChildRecursive("Col");
bean1.setRendered(true);
bean1.setDataType("DATE");
but still when the page opens messagetextinput field is not showing the date picker.
Kindly guide me to resolve the issue.
Thanks.
ManishHi,
Instead of setting the datatype to DATE programatically, can u set that in you page itself using property inspector.
In PR, just set the rendered property to true.
--Sushant -
How to set the date picker to display only months?
I am trying to set the date picker in SSRS 2012 to allow the user just to select the months: and when I run my store procedure I get a can't convert data type from nvarchar to datetime. If I don't comment out of the Where Clause, nothing
is returned if I leave the Where Clause in.
Alter
PROCEDURE RollingReportList
AS
BEGIN
SET NOCOUNT
ON;
SELECT
distinct
[ItemDescription]
,[QuantityOrdered]
,QuanitityCost
= [QuantityOrdered]
* [Price]
,Convert(datetime,(CONVERT(CHAR(4),PE.[LastUpdated],107)
+ '-'
+ (right(CONVERT(CHAR(4),PE.[LastUpdated],112),2))))
as CurrentMonth
,Convert(datetime,(CONVERT(CHAR(3),Datename(MONTH,DATEADD(MONTH,1,PE.LastUpdated)),107)
+ '-'
+ (right(CONVERT(CHAR(4),PE.[LastUpdated],112),2))))
as NextMonth
,Name
FROM
[HQStore].[dbo].[PurchaseOrderEntry]
as PE
inner join
[HQStore].[dbo].[PurchaseOrder]
as PO
on PE.[PurchaseOrderID]
= PO.[ID]
inner join
[HQStore].[dbo].[Store]
as ST
on PE.[storeid]=ST.ID
Where
(@Start
= '01/01/2009'
and @Last
= '12/31/2010')
End
Go
Exec
RollingReportList
Any Help?Try the below....
Where (@Start = '20090101' and @Last = '20101231')
SELECT FORMAT(getdate(), 'MM')
02
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
Date popup shows centuries wrongly
I have 2.1.0.62 version.
Steps to reproduce the bug:
1. Make sure you have double-digits year format in your NLS settings
2. Execute follow script: select to_date('01-01-2210', 'MM-DD-YYYY') from dual;
3. In the result pane double click on the date
4. Click pencil button to open popup - you should see 2010, not 2210
Four digits in year format will save the day.Chris,
Why would you expect to see 2010 ?I didn't. And I was really confused when I saw it.
if you are specifying the full year as 2210 the oracle will give you back 2210.
If you want 2010 then type 2010.
e.g. select to_date('01-01-2010', 'MM-DD-YYYY') from dual;
What the query is returning is correct for the input as far as I can see.
If you want the ensure the correct century is returned when you are not actually specifiying the century then use 'MM-DD-RRRR'
e.g. select to_date('01-01-10', 'MM-DD-RRRR') from dual; returns 2010.Probably I didn't describe the bug clearly.
WHEN date field in the result panel has date with centuries more then 0 AND your NLS date settings have two digits for year, like 'MM-DD-RR' THEN date popup shows date's year incorrectly.
From my 1st message - it shows 2010 instead 2210.
Here is screenshot: !http://i50.tinypic.com/24cd1te.png! -
BEx Displays Wrong Values After Reloading InfoCube
I am very new to all of this, so there is a good chance I have just done something stupid. I have an InfoCube in which I deleted all of the data, and then reloaded it with corrected data from the PSA. If I look at the raw data in the InfoCube, it looks fine. If I run a query with either BEx Analyzer or BEx Web Analyzer, key figure data is doubled, as are the result rows. I believe it has to do caching for that particular Query, because I can create a new one and it will display the data correctly. Does anyone have any ideas what might be causing this to happen? Or how to clear out the cache?
ThanksWell, by the time I got back to look at it, it was working fine. Which told me it was related to caching. So I decided to recreate it. In order to do this, I cleared out the request from the InfoCube, and then went and modified a few rows in the PSA. After the DTP, I once again checked the Query and it was wrong. I first checked the Request IDs, and I only had the new one. I then went into RSRT and deleted just the cache for that query. After that, the query was working again! Thanks for your help.
Now my questions are how long does it take for the cache to recycle, and what actions can prompt it to recycle (such as changing the query)? -
Statistical-relevent delivery date not showing up in PO after upgrad to ECC
Hi Gurus,
After upgrade to ECC, Statistical-relevant delivery date (PO Item details --> delivery schedule tab) is not showing up when I convert PR to PO from Stock requirements list(MDO7).
Could you please help me out this issue.Maintain the item category in your material master at sales organisation level and try again.
Also Please Check the delivery item category determination in trxn code 0184 there you define which item category is to be found for the combination of delivery type NL and item category group.
Regards,
Ashok
Edited by: Ashok Kumar Telikula on Aug 27, 2008 2:35 PM -
Hi
We have copied our Project Server 2010 production databases to development server. We have few reports created by using Performance Point Services, but here when we try to open the reports the data source is pointing towards production data source
instead of dev.
We are getting some issue while executing the reports
Request you to let me know what exactly the cause and steps to rectify the issue.
Thanks
Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.As you have copied data from Prod to Dev reports are pointing to production data sources and reports are unable to display data. Whenever we copy the data from one environment to other then this kind if issue occurs.
We need to modify the data source of all the reports manually so that report point to dev data source.
You have to open data source for your reports and change it from prod to dev then reports will display correct data.
http://blogs.msdn.com/b/performancepoint/archive/2011/09/19/performancepoint-data-connection-libraries-and-content-lists-in-sharepoint.aspx
http://www.networkworld.com/community/node/57687
kirtesh -
Mail Merge Data Shifts to Display Wrong Information
I have a Pages document that I've set up as a simple merge letter. Merge fields are all set up and both documents (Pages and Numbers) are saved.
When I perform the MERGE the first record merges correctly, but all the other records (pages of the letter) are messed up because the data shifts around.
Does anyone have a fix to this problem?Ron
Thanks I received your files.
As I noted in the email reply, you have empty cells in your "parent" name columns which are producing an empty value error in your concatenation formula in C3 onwards.
Interestingly Pages does not do the sensible thing and skip it. It seems to be counting off merge results and simply jumps to the next input.
That I consider a bug.
+Menu > View > Provide Pages Feedback+
Peter -
Is there anyway to get the lost data back?
First, see if the update is gone, or not being utilized:
The iPod touch January Software Upgrade can only be synced to iPod touch from the primary iTunes library. If the user is manually managing music and video on iPod, this is the computer where they first set up the iPod or first set it up after restoring the iPod. The "iPod touch App Pack 4A93.ipa" file can be copied from the computer where you purchased it to your primary iTunes library computer, and sync the iPod from there.
The file is located here:
Mac OS X:
~/Library/iTunes/Mobile Applications
Windows XP
C:\Documents and Settings\[user name]\Application Data\Apple Computer\iTunes\Mobile Applications\
Windows Vista:
C:\Users\[user name]\AppData\Roaming\\Apple Computer\iTunes\Mobile Applications\
Note: These locations are hidden by default in Windows. You can these locations by choosing "Show hidden files and folder" in the View tab of the Folder Options Control Panel.
Now, if you can't get this to install, you can try to set your Touch to automatically sync instead of manually sync.
If that doesn't do it, login to your iTunes store account within iTunes, goto your account, and select "report problem"
They should be able to help you with the downloads and the update from there.
Scott -
Oracle XE R11.2 DB Mgmt App not accessable after APEX 4.2 upgrade
I recently installed Oracle Database Express Edition 11g Release 2 (with APEX installed). Then went through the documented processes to upgrade APEX to R4.2. When I did that, I lost access to the APEX based GUI for managing the R11g XE database.
The "lost" application was reached by the URL http://127.0.0.1:8080/apex/f?p=4950
which now returns: Error Error processing request.
ORA-01403: no data found
OK
Does anyone know if it is possible to recover or re-install the original Oracle Database Express Edition 11g Release 2 "Getting Started" APEX application in this new APEX 4.2 environment? This would greatly speedup my DB management tasks so I don't have to find SQL statements for all DB operations.
regards,
David Reeves
Oracle Consulting
Edited by: dreeves on Nov 28, 2012 2:00 PMDuplicate post ... please ignore this thread and do not respond to it.
thank you. -
XE Database home page gone after APEX 3.2 upgrade
I just upgraded the version of HTMLDB/APEX on my XE database from 2.0 to APEX 3.2. All went well, however, the database home page seems to have disappeared. When I go to Start|Programs|Oracle Database 10g Express Edition|Database home page, I now get the APEX start page. Does the upgrade blow away the Database Home Page?
Hello:
This is expected. If you decide to upgrade the Application Express within your Oracle Database XE, you will lose the Oracle APEX interface to perform some of your database management functions. This includes the ability to create and alter users, set database parameters, etc. To perform these functions, you will need to use either SQL Developer or SQL*Plus.http://www.oracle.com/technology/products/database/application_express/html/3.0.1_and_xe.html
varad -
Infocube data loads fail with UNCAUGHT_EXCEPTION dump after BI 7.01 upgrade
Hi folks,
We're in the middle of upgrading our BW landscape from 3.5 to to 7.01. The Support pack we have in the system is SAPKW70103.
Since the upgrade any of the data loads going to infocubes are failing with the following
ABAP dump UNCAUGHT_EXCEPTION
CX_RSR_COB_PRO_NOT_FOUND.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_RSR_COB_PRO_NOT_FOUND', was not
caught and
therefore caused a runtime error.
The reason for the exception is:
0REQUEST is not a valid characteristic for InfoProvider
Has anyone come accross this issue and if so any resolutions you adopted to fix this. Appreciate any help in this regard.
Thanks
Mujeebhi experts,
i have exactly the same problem.
But I can`t find a test for infoobjects in rsrv. How can I repair the infoobject 0REQUEST`?
Thx for all answers!
kind regards
Edited by: Marian Bielefeld on Jul 7, 2009 8:04 AM
Edited by: Marian Bielefeld on Jul 7, 2009 8:04 AM
Maybe you are looking for
-
What is the real time use of implicit and explicit cursors in pl/sql
what is the real time use of implicit and explicit cursors in pl/sql.............please tell me
-
Sharing multiple hard drives to windows
Hello all. I have a PowerMac G4 with 4 Internal hard drives. When i connect via windows to the mac via networking, I can only ever access my user account ie - i can only see 'username' and desktop/movies/music folders etc how do i set up the powermac
-
After downloading iOS 8, Photo stream doesn't work.
After downloading iOS 8, Photo stream doesn't work.
-
.AVI conversion to Apple TV issue
Hi folks. There are different replies on the message board - somewhat confusing to go thru them all and not all of them seem to be exactly like mine. I have a bunch of .avi movies I'd like to convert and put in iTunes for my Apple TV. Most of the mov
-
What's the best way to run 1200 parameterised instances of one report?
Hi, We have the requirement to run 1 report for 1200 different parameter inputs every month. The report is written as a Deski report based on one universe. Basically we have a list of deal codes, and we need to produce a report based on each deal cod