Custom date format is not working for me
I have a bunch of dates imported from another spread sheet. They look like this:
February 04, 2014 at 09:24AM
Numbers 3.2 sees this as Text, so I went about making a custom date format. It looks like this:
However, I cannot make Numbers see it as a date. It keeps saying it is a string. If I select the cell containing the date and set the format to "My Custom Format", nothing happens - at all.
What am I doing wrong?
Thanks in advance,
Michael
Hi Michael,
The Custom format you designed will display a normal Dave and Time value in the way your import presents it. That's not what you want though.
To comvert the imported format to a regular Numbers format, use a conversion expression in a new column.
Assuming your Imported Date is in Column B, Insert a Column and use this expression:
=DATEVALUE(LEFT(B, LEN(B)−11))+TIMEVALUE(RIGHT(B, 7)
Format your new column to the way you want to see Date/Time in your document.
Jerry
Similar Messages
-
Drawing with a custom profile stroke is not working for me. Does it work for you?
Drawing with a custom profile stroke is not working for me. Does it work for you?
I can only apply it on an existing stroke but can't draw a new one with the selected profile. In fact if I change the profile to other than the default Uniform I also can't draw a new stroke with any other width than the default 1 point. This doesn't seem normal.
Using SC5 on a PC.Another question on the same topic.
Once I add a new profile to the list is it possible to put it on top of the list. I need this because the Adobe people decided to put the list in a tiny scrollable window with only a few of the first profiles showing. If there is noting in the interface may be I have to modify some program files settings? -
Date format is not working properly for Calender value help
Hi Experts,
We have two problems.
1. We want to change the format of date displayed. We want format of dd-MMM-yy. For that we have created one Simple
Type Dictionary Object with Displaying format dd-MMM-yy. It is working
fine for the non editable UI. But once I apply the dictionary type
object as data type for an input field, probem happens. Once the user
choose a date from calender value help the value in the input field is
coming like 01-011-12 not like 01-Jan-12.
The date format is not changing from the calender. But if we set the
display format of the dictionary object to MM-dd-yy or MM/dd/yy or
dd/MM/yy or dd-MM-yy the format conversion from calender to input field
is happening properly.
The only problem once we put MMM in place of MM for the input field
where user is selecting from a calender value help.
2. We want to restrict users from entering the value manually for date input field. The user
should be able only to enter value by selecting from calender value
help.
Please give suitable solution for these problems
Thanks
ShankhaHi Sankha,
Please refer the links below:
http://scn.sap.com/thread/1659463
http://scn.sap.com/thread/1533443
Regards,
Manoj -
Request Scope for portlets? Sharing data tutorial does not work for portlet
I created 2 identical applications, one that was a regular JSF web app, and one a JSR168 portlet. By following the "Sharing Data Between Two Pages" tutorial, I can get this technique to work without a problem in the web app, but the portlet (deployed locally using the pluto server) does not work. What is the difference between a regular app and a portlet app?
This shows that portlets apparently handle scope much differently than other applications, so any information relating to this would be helpful to pass along.Portlet Life Cycle Differences
A portlet page is the same as a web application page in the Creator 2 application
model with differences only in the page life cycle. To best understand the life
cycle differences, you must first understand how a portal interacts with a portlet.
This interaction between portals and portlets is defined by the JSR-168 Portlet
specification. Typically a portal display in the web browser shows multiple
portlets. That is, when the portal page is displayed, there are actually multiple
portlets displaying or rendering their content. The job of the portal is to manage
how these portlets are displayed. Internally, the portal is responsible for telling
each portlet two things:
1. When to display itself
2. If there has been an action, such as a button press, performed inside that
portlet.
When a portal wants portlets to display their contents, the portal sends a render
request to each portlet showing in the portal. If one of the portlets showing in the
portal has a button tied to an action request, when that button is pushed, the
portal fires an action request for that portlet. In addition, the portal generates a
render request for the portlet and all other portlets on the page. You should note
that the portal implementation fires both action and render requests for each
action method on a portlet showing in the portal. The implication of this
interaction means the portlet page being rendered can not make assumptions
about the state of the values to be shown. Unlike a normal web application page,
a portlet page can't assume that the page being rendered in the Render Response
phase is the same page that was built in Restore View. If a portlet wants to
maintain state across repeated render requests, the portlet must use the session
bean to store stateful information.
The main point to remember is a portlet page must always be prepared to render
it's values from scratch or session data. This implies you should never bind
portlet page UI components to page bean properties or request bean properties.
Also, you should never rely on page bean instance variables that might be set
during an action event.
Hope this helps. -
Custom lock screen GPO not working for domain users
I have a WS2012 standard server with W8 Pro clients. I'm trying to force the lock screen to a .jpg however it's not working, it leaves the users with just a standard blueish screen.
I have the "force a specific default lock screen image" enabled with the path \\MRS-DC\WP\mrc_lock_screen.jpg
The GPO is being applied according to the results wizard, however no image. What gives?Hi,
Please refer to the below articles:
Win8: How to Manage the Lock Screen Image on Windows 8 and Windows Server 2012
http://support.microsoft.com/kb/2787100
Here is a similar thread:
Change default logon/startup/lock screen in windows 8 pro
http://social.technet.microsoft.com/Forums/windows/en-US/2590f111-7709-40b9-acee-c2aeaa9a48f8/change-default-logonstartuplock-screen-in-windows-8-pro
In addition, please check your below policy:
Prevent changing lock screen image under Computer Configuration\Administrative Templates\Control Panel\Personalization
Disable it and check the result also.
Regards,
Yan Li
Cataleya Li
TechNet Community Support -
Format-number not working for me with preview to excel
Hi,
I have a report with 8 fields across within a table.
Each field is formatted in the same way, with format-number like this (there are 8):
<?format-number:total-year-remaining;’PT999G999D99’?>
(that's the type-your-own form-field help text in the word template).
When I preview the PDF, the data looks fine (8 cells shown below):
.00 (.10) (.10) .00 (.50) (.50) (.60) (.60)
But when previewing to Excel, there are two problems:
1. Only the data in the last field (the 8th one) is formatted with the oracle mask:
(.60)
But upon closer inspection, there are two blank spaces after the number in that cell, and the value itself is treated like a string, e.g. '(.60) '. In fact if I ask excel to format this cell like a number with currency and two decimal places, in won't do it because of trailing spaces. Its just not a number to excel at that point. Probably the ('s don't help things either.
2. The data in the first seven fields in excel are numeric, and I can format them in excel as currency, but I wanted XMLP to handle this, not the excel user.
The bottom line is this: I want both PDF and excel output. I want both forms to have the fomat mask applied correctly. And I want excel to treat each cell as a number. Is this possible?
Thanks
AdamAnatoli,
Hello!
I don't know if my situation is the same as yours, but after a lot of head-scratching, forum searching and template rebuilding, I finally figured out my problem.
I had one column that no matter what I did kept appearing in Excel as text. I'd format it to Number in Excel and nothing. When trying to sum the column, Excel would not recognize any of the values as numbers. I even did the reformatting on the XML Word template to number, and the currency format that Adam mentions. Still no go. The $ and ',' appeared, but column still formatted as string.
I just finally noticed Adam's mention of the 2 extra spaces at the end of the numbers and sure enough mine was doing the same thing. Take out the 2 spaces and voila! Number!
Every time I redid my template in Word (07 and 03), I used the wizard. (Add-ins>Insert>Table>Wizard) walked through the steps, not really changing anything. Then I would preview and the spaces would be there. The column that I was having problems with was the last column of the table, which would get the text 'end G_ASSIGNED_CC' inserted in after the field name - separated by 2 spaces. Once I took out these two spaces, so the column now shows 'COSTend G_ASSIGNED_CC', it worked fine in Excel - all numbers.
Hope that helps someone out there as I was having a heck of a time finding anything (solutions anyway) on this.
Thanks,
Janel -
Date Format is not Working in Cross tab Crystal report 2008
Hi,
I have developed an application ASP.Net c#
in Framework 3.5 with crystal report 2008 with service pack 5.
in my crystal i used cross tab to show the grid records. one of the data having the data type as date time after launching the report, when i export the report with option "export to excel (data only)" and check the format of the date value in excel it show the general string
if i place that data in any other location other than cross tab then it reflects the format what i give in report design. but when the control is in cross tab
its not effect
how to solve this!And tweeted
- Ludek
Senior Support Engineer
AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Custom weblogic instrumentation does not work for me :(
Hello.
First of all excuse me about my english.
I have developed a simple class, I have compile it, and I have packaged it into a war file.
The application Works ok when I do a request: http://192.168.1.5:7100/simple/hello
But when I want to instrumentalize it, it cannot works. I have enabled instrumentation, but it I don't see anything in: Request Performance.
Can you help me?.
These are the files:
simple_temp3
|
+- hello.html
|
+- WEB-INF
+- web.xml
|
+- META-INF
+- weblogic-diagnostics.xml
|
+- classes
+- edu
+- ucla
+- hello.class
[weblogic@localhost simple_temp3]$ cat hello.html
<html>
<head><title>Hello World</title></head>
<body><h1>Hello World</h1></body>
</html>
[weblogic@localhost simple_temp3]$ cat META-INF/weblogic-diagnostics.xml
<wldf-resource xmlns="http://www.bea.com/ns/weblogic/90/diagnostics"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90/diagnostics.xsd">
<name>Sample WLDF resource</name>
<instrumentation>
<enabled>true</enabled>
<wldf-instrumentation-monitor>
<name>sample</name>
<enabled>true</enabled>
<action>TraceElapsedTimeAction</action>
<location-type>around</location-type>
</wldf-instrumentation-monitor>
</instrumentation>
</wldf-resource>
[weblogic@localhost simple_temp3]$ cat WEB-INF/web.xml
<web-app id="simple" version="2.4">
<welcome-file-list>
<welcome-file>hello.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>Hello</servlet-name>
<servlet-class>Hello</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Hello</servlet-name>
<url-pattern>/hello</url-pattern>
</servlet-mapping>
</web-app>
[weblogic@localhost simple_temp3]$ cat WEB-INF/classes/edu/ucla/Hello.java (this is the source Class)
import javax.servlet.Servlet;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
public class Hello extends HttpServlet implements Servlet {
public Hello() {}
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
PrintWriter out = response.getWriter();
out.println("<HTML>");
out.println("<HEAD><TITLE>Hello World</TITLE></HEAD>");
out.println("<BODY>");
out.println("<H1>Hello World</H1>");
out.println("Today is: " + (new java.util.Date().toString()) );
out.println("</BODY></HTML>");
out.close();Can anyone help me?
-
Short date format option not working?
I have a date inserted dynamically in an ASP page, and have the DW8 behavior set to 1/17/00 format, which edits the variable to be this:
<%= DoDateTime((Recordset1.Fields.Item("EventDate").Value), 2, 1033) %>
but when I view it on the page, it still shows 10/10/2010 instead of 10/10/10 ... anyone able to tell me why?Hi Sankha,
Please refer the links below:
http://scn.sap.com/thread/1659463
http://scn.sap.com/thread/1533443
Regards,
Manoj -
Can somebody please help me. I am trying to recover my aunts audio books that she has purchased. I have authorized her new computer and registered her new ipod. There is no option for audio books under purchased and itunes is telling me there are no available downloads. She has purchased several audio books in the last two years.
thank-you! yeah, i cant see going to 64. as it stood sound quality was dodgy. good on some stuff, great on others, and terrible on a few. i have some great news...my ipod is not showing up in itunes. again. i give up. it has music on it. its full to the tippy top. i fooled around with some of the things the trouble shooter wizard thing suggested last night for hours. didnt fix it. after awhile i was just going in circles. i will just live with the thing the way it is. but i will say one thing; after reading some of the posted issues other folks are having i'm just glad i didnt put everything in the cloud....peace
-
Transaction launcher not working for custom business role
Hi Experts,
I am facing a very weird problem where the transaction laucher define for BOR transaction is working for one business role(Z business role Customized one) but its not working for other business role (Z business role).
to emphasize further we have the code:-
case ls_attributes-object_type.
when lc_z23 or lc_z25.
lv_logical_link = lc_ZITISU.
when lc_BUS2000115.
lv_logical_link = lc_ZITERP1.
when others.
lv_logical_link = lc_ZITERP2.
endcase.
l_if_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
IF l_if_navigation IS BOUND .
Navigate to transaction launcher using link id
l_if_navigation->navigate( iv_link_id = lv_logical_link ).
ENDIF.
in this the logical link is is lc_ZITISU whenever this BSP application is called from both the business roles but in one the window opens up for BOR transaction whereas when we login again using different business role the code is the same as given above. I mean the sam logical link id is used and navigated to but window is not opening for transaction launcher as it happens for the previous business role.
Request your help to resolve this issue.
Thanks,
RajwinHi,
I tried by applying the PFCG role id of business role which was working to the business role id of the one for which it wasn't working and then try testing whether the transaction launcher is triggering. But the transaction launcher screen is still not opening even after doing this.
Probably there's something else too which is causing the problem. Request your inputs on this,
Thanks,
Rajwin -
Custom Data Formatting Gone for Dates
Another new aspect of the updated Numbers app for OS X is the loss of customizing data formats. There are more options via a drop down, but there's less customization. For example. I had a use case where I'd take a column full of dates and would replicate it so the same data was in two columns. I then was able to customize the first column of dates to use a month shortcode only so it would render "Jan, Feb, Mar, Apr..." depending on the data in that column. The next colum with the same data I'd then customize to show only the day of the month. See the example below.
Date
Column 1
Date
Column 2
Jan
4
Mar
15
Oct
23
Presently, neither the shortnames for months by themselves nor the day of the month by itself is available as an option when working in the Data Format panel.
I'm assuming the customization was killed, but if someone knows if that's hidden elsewhere, please let me know!Hi Bret,
I don't know the answer to your actual question as I tend to later adoption, and am not yet using Numbers 3.0, but here's a workaround (with some limitations, noted below).
Limitations:
Requires that the values in the cells are created by formulas, or can be created by formulas referencing another cell.
The resulting values will be a text string (column A) or a numeric value (column B), not a Date and Time value.
A: =LEFT(MONTHNAME(MONTH(formula)),3)
B: =DAY(formula)
In each, formula is the existing formula used to determine the D&T value currently in the cell.
Regards,
Barry -
Not able to save date column with custom date format. in OBIEE 11g
Hi,
I have migrated one report from OBIEE 10g to 11g. There is a date column with customized date format(i.e. Default format is 'dd-MMM-yyyy' and I have used 'MMM-yyyy').
But when I use this custom format and try to save the report in 11g its giving this below error.
''Catalog object privilege validation failed for user to path /shared/ALM BI/Finacial Results/History Income Statement Detail.
You do not currently have sufficient privileges to save a report or dashboard page that contains HTML markup.
This HTML might be present in column headings, table headings, text views, narrative views, the print header,
or the print footer and must be removed before saving.''
Please let me know what changes I need to do for this.
Regards,
Ambika Nanda.Hi ,
privilage issues...check the security settings once..
Thanks,
Ananth -
Clob is not working for bulk data files in PL/SQL XML program
Hi Odie,
we took your help to fix the our issue before
"https://forums.oracle.com/forums/thread.jspa?threadID=2238458&tstart=105"
working fine for : program is working for smaller size data.
Issue : now we have problem with the largr size data .
getting the below error:
Arguments
P_dir_name='/tmp'
P_file_name='CCBGO.COLO_CNG.RESPONSES.20120802.00054131826'
Environment will now switch to UTF-8 code-set.
Parts of this log file may not display correctly
as a result. This is an expected behavior.
XML_REPORTS_XENVIRONMENT is :
/apps/applmgr/product/OFDEV/ofdevora/806/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
XENVIRONMENT is set to /apps/applmgr/product/OFDEV/ofdevora/806/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
stat_low = 8B
stat_high = 0
emsg:was terminated by signal 11
Appreciated for your earlier support.
Kindly suggest .
Many Thanks,
Ramesh.Thanks ALex,
your are true it is concurrent program error ,
but it is working for small amount of data and generating the output and it is not working for larger data.
i have placed the code which i have used kindly suggest where i am going wrong.
i am calling the .rdf through the concurrent program, i've used the below query in RDF
select
BATCHHEADER
,BATCHTRAILER
,RqUID
,Severity
,PmtRefId
,StatusDesc
,ErrorDesc
,AsOfDate
,AsOfTime
,RqUID1
,SPRefId
from table(CL_CXFRFXFH_PKG.rcacknowledgments(:P_dir_name,:P_file_name));
kindly find the below code for the package CL_CXFRFXFH_PKG.
==========================
CREATE OR REPLACE package body APPS.CL_CXFRFXFH_PKG is
function rcacknowledgments (p_directory in varchar2, p_filename in varchar2)
return TRecordTable pipelined
is
nb_rec number := 1;
tmp_xml clob;
tmp_file clob;
rec TRecord;
begin
dbms_lob.createtemporary(tmp_file, true);
tmp_file := dbms_xslprocessor.read2clob(p_directory, p_filename);
rec.BATCHHEADER := regexp_replace(tmp_file, '.*<BATCHHEADER>(.*)</BATCHHEADER>.*', '\1', 1, 1, 'n');
rec.BATCHTRAILER := regexp_replace(tmp_file, '.*<BATCHTRAILER>(.*)</BATCHTRAILER>.*', '\1', 1, 1, 'n');
loop
tmp_xml := regexp_substr(tmp_file, '<\?xml[^?]+\?>\s*<([^>]+)>.*?</\1>', 1, nb_rec, 'n');
exit when length(tmp_xml) = 0;
--dbms_output.put_line(tmp_rec);
nb_rec := nb_rec + 1;
select RqUID, Severity, PmtRefId, StatusDesc, ErrorDesc, AsOfDate, AsOfTime, RqUID1, SPRefId
into rec.RqUID
, rec.Severity
, rec.PmtRefId
, rec.StatusDesc
, rec.ErrorDesc
, rec.AsOfDate
, rec.AsOfTime
, rec.RqUID1
, rec.SPRefId
from xmltable(
'/CMA/BankSvcRq' passing xmltype(tmp_xml)
columns RqUID varchar2(3000) path 'RqUID'
, Severity varchar2(3000) path 'XferAddRs/Status/Severity'
, PmtRefId varchar2(3000) path 'XferAddRs/Status/PmtRefId'
, StatusDesc varchar2(3000) path 'XferAddRs/Status/StatusDesc'
, ErrorDesc varchar2(3000) path 'XferAddRs/Status/ErrorDesc'
, AsOfDate varchar2(3000) path 'XferAddRs/Status/AsOfDate'
, AsOfTime varchar2(3000) path 'XferAddRs/Status/AsOfTime'
, RqUID1 varchar2(3000) path 'XferAddRs/RqUID'
, SPRefId varchar2(3000) path 'XferAddRs/SPRefId'
pipe row ( rec );
end loop;
dbms_lob.freetemporary(tmp_file);
return;
end;
end;
============================================
Many Thanks,
Ramesh. -
Allow Custom Text Entry for Drop down not working For Dynamic form
Dear All,
In drop down field Allow custom text entry is working fine if the form is save as a static pdf form file.But if the form is save as a Dynamic pdf form file it is not working.I can enter custom text in drop down field but after filling it up when I click on next field the text from the drop down is disappearing.
If any body can please help me to solve this problem.
Thanks a lot in advance
Regards
RakeshDear Jimmypham,
Thanks a lot for your quick response.But it's not working for me.I have even tried with a form having only single field and save it as a dynamic pdf file.In that form also it's not working.The text which I have entered is disappearing when I click outside of this field.
Can you please help me to find out the solution for this problem.
Regards
Rakesh
Maybe you are looking for
-
How do I keep my daughter and I's apps and contact info SEPERATE on the same itunes while sharing songs? I need step by step directions on set up different profiles on itunes for 2 seperate iphones. I want to be able to share purchases if desired, bu
-
How to get rid of system acknowledgements in JDBC adapter
Hi, I've set up a receiver JDBC adapter. It works good, but sends back acknowledgements which i dont want On help.sap.com i found: "....If you want to prevent a synchronous system acknowledgement from being sent back, even if the sender requests it,
-
I have to erase and sync my iphone to an other itunes account will i lose everything ?
My old laptop has broken down and i am no longer able to use my itunes on there. I have another laptop with itunes installed on it but my iphone 4 is not synced to it. I need to erase and sync my data to be able to update my phone and i want to know
-
When printing a numbers file to pdf hyperlinks disappear
I have created a Numbers file containing text in cells that link to a web page. It works perfectly in the Numbers file itself, but once converted ('printed') to PDF using the OS X print functionality in Numbers, the text in the cells is still underli
-
Is it possible to change our system SID and NR after installation
HI TO ALL Is it possible to change our system SID and NR after installation os SAP r/3, thanks