Convert month 1, 2, 3 ...to Jan, Feb, Mar...
Hi gurus
I have a need to display the months as Jan, Feb, Mar in my query. But presently i am getting it as 1, 2, 3 and so on. I am using 0FISCPER3 as the time characteristic. Is there any ruotine which i can use in the update rules which will convert the display from 1,2,3...to Jan, Feb, Mar.
Please help. Thanks in adavance for your help.
regards
vijaykumar
Hello chadrashekara,
you will have to use the replacement path variables for displaying Jan, Feb, mar in place of numbers.
check out this link describing procedure of replacement path variables:
http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
hope it solves your problem..
thanks,
Similar Messages
-
Can I use this code to self Generate month ? ie Jan, Feb, Mar
Hi can some one tell me is this possible to do.
I am making a Date Of Birth using combo box�s this is the code I am using to generate the date.
My question is can I use this for the month i.e. Jan, Feb, Mar etc
private void DayOfTheMonth(int highNumber,JComboBox comboBox){
comboBox.addItem(" ");
for (int index = 1; index < highNumber; index++) {
comboBox.addItem(String.valueOf(index));
private void DaySpecificComboBox()
//Day is stopat 32 as there is 31 days in the month
DayOfTheMonth( 32, DayjComboBox);
}Hi,
This can be done with the help of your abaoer, you can have the required texts from the table T009C, otherwise the programmer can hard code the months as you given.
Regards,
Vasu. -
Need to find short months ie JAN, FEB, MAR
Hi
Just a little problem:
I have the following query:
SELECT MONTHNAME(year) AS Month
FROM features1
which return the Month as JANUARY
I would like to get a shorter version of the month ie JAN
any ideas?Think I just figured it out:
SELECT LEFT(MONTHNAME(year),3) AS Month,
FROM features1
Using LEFT: Returns the leftmost number of characters as specified by the amount (in this case 3)
Woot -
Hi All,
How to display selected Month like jan,feb,march in single page with different webparts.
I created 3 webparts and selected(jan,feb,march) but when page refreshes all webparts are displaying current month(December).
Here i attached the screen shot, where December should be shown as (January and February)
Kindly check and guide me in right track.
Thanks
Prabhat.
Madhu PrabhatHi,
To develop a custom web part, you can take a look at the links below with steps in detail for a start:
Creating Web Parts for SharePoint
http://msdn.microsoft.com/en-us/library/ee231579.aspx
Sharepoint 2013 Create a Visual Web Part
http://raquelalineblog.wordpress.com/2013/04/25/sharepoint-2013-create-a-visual-web-part/
Another three links for your reference:
http://www.learningsharepoint.com/2012/12/24/how-to-create-a-custom-webpart-in-sharepoint-2013/?goback=%2Egde_3911588_member_198759022#%21
http://www.youtube.com/watch?v=9iK8IPUB87w
http://sptechbytes.blogspot.com/2013/10/sharepoint-2013-creating-visual-webpart_26.html
Here are some samples of custom calendar web part for your reference:
http://www.codeproject.com/Articles/108676/SharePoint-Custom-Calendar
http://gunnarpeipman.com/2009/01/creating-sharepoint-global-calendar/
https://blog.metrostarsystems.com/2013/10/21/creating-a-custom-sharepoint-calendar-rollup/
You can also do more customization by adding your own logic in it.
Best regards
Patrick Liang
TechNet Community Support -
Data is missing for Jan,Feb in 2008
Hi,
I have an issue with the report..The Concrete Profitability Report is using the manually uploaded rates for cost types. The business reported that the actual columns in the reports seem OK (since they come from the loaded amounts for the 12 months in 2008), but the budgeted amounts are showing a big variance and they don't look accurate bcoz the values are not calculated for Jan,Feb for 2008.The report runs based on multiprovider.
Perhaps the budgeted amounts for Jan and Feb in 2008 are missing.
Could yoy please let me know how can i proceed further and help me out in this issue.
Thanks
SindhuHi,
Did u check in the respective cube whether the data is available for that period? check in the cube and also do LISTCUBE on multiprovider.
Khaja -
Calendar entries missing Jan & Feb
I find all entries made Jan & Feb 2013 on the calendar are all missing and when you make a new entry they also disapear. This happens on all my apple devices & all my freinds & colleagues. But when I go onto a web browser and log onto the iCloud they all appear! Not working for me as a calendar as it is, not relliable.
Is this the same across the Apple world????Yes it is the same unless you change your settings to sync all events. You can find it if I am not mistaken under settings, mail contacts and calendars, scroll down to calendar and one of the lines will say "sync" change to all events. Good luck!
-
Hi,
I want to convert month to numbers and I don t want to write a long if-else for it!
It has to be a smarter way to solve this.
Does anybody know how to do that?
I already get the month from a site and if it�s Oct, then I want to show it as a 10. I have searched in Date classes but it didn t help.
NiniI get the date with RSS news and I would like to
convert it to another format.
Ninijava.text.SimpleDateFormat is your answer.
:D -
Displaying Months in Matrix Report like Jan-01 Feb-01
How can I display Months like Jan-01 Feb-01 in Matrix Report of Oracle Report 6i.
I tried using to_char(myDate,'Mon-YY') but it displayed months in Alphabetical Order like Apr-01 Aug-01 and so on.
I need something like this.
Item Jan-01 Feb-01 Mar-01 Apr-01
Item-A 100 200 300 400
Item-B 100 200 300 400
Best Regards,
LuqmanDear Dan,
Thanks for your suggestion.
My problem is to display Oracle Data (Hiredate Field of Oracle Scott.Emp Table) in Matrix Report of Oracle Report Version R6i in the format of :
Dec-80,Feb-81 etc. as under:-
EmpNo Dec-80 Feb-81 Apr-81 May-81
7369 800
7499 1600
7521 1250
7566 2975
7698 2850
The query I tried in Sql Statement Window of Oracle Report R6i is as under:-
select empno,sal,to_char(hiredate,'Mon-YY') from emp
order by to_char(hiredate,'YY-MM')
The above query shows correct exactly what I need, when run in Oracle Sql Plus but in Matrix Report, it seems its Order By clause not working.
Your suggesion is related to change the format of today's date and not with Oracle Data, I presume.
I will appreciate if you please let me know directly at my E-Mail: [email protected] if you find any solution for my above problem.
Best Regards,
Luqman -
Convert Month to Range of Dates
Hi All,
I need help it writing a T-SQL which converts a single month into the all the dates of that month.
I tried and tried, and nothing came to my brain. I need from experts like you.
Table Data
P_Status
Month Daily Prod
Unit
Jan-14 1
4
Feb-14 3
6
The output needs to be like this
Month Daily Prod
Unit
1/1/2014 1
4
1/2/2014 1
4
1/31/2014 1
4
2/1/2014 3
6
2/2/2014 3
6
2/28/2014
3 6
Thanks in advance.if you can't (or don't want to) create a calendar table (you should, its super helpful) then you could use this function instead:
create function Dates(@date datetime)
returns @table table
now datetime,
today datetime,
Month_start datetime,
Month_end datetime,
Prev_Month_Start datetime,
Prev_Month_End datetime,
Week_Start datetime,
Week_End datetime,
Prev_Week_Start datetime,
Prev_Week_End datetime,
Quarter_Start datetime,
Quarter_End datetime,
Prev_Quarter_Start datetime,
Prev_Quarter_End datetime,
Year_Start datetime,
Year_End datetime,
Prev_Year_Start datetime,
Prev_Year_End datetime,
Month_End_TS datetime,
Prev_Month_End_TS datetime,
Week_End_TS datetime,
Prev_Week_End_TS datetime,
Quarter_End_TS datetime,
Prev_Quarter_End_TS datetime,
Year_End_TS datetime,
Prev_Year_End_TS datetime,
Year smallint,
Month smallint,
Day smallint,
Month_Name varchar(15),
Day_Name varchar(15),
WD smallint
as
begin
if @date IS NULL set @date = getdate()
insert into @table
select
@date as now,
convert(datetime,convert(varchar,@date,101)) as today,
dateadd(day,0-day(@date)+1,convert(datetime,convert(varchar,@date,101))) as Month_Start,
dateadd(day,-1,dateadd(month,1,dateadd(day,0-day(@date)+1,convert(datetime,convert(varchar,@date,101))))) as Month_end,
dateadd(month,-1,dateadd(day,0-day(@date)+1,convert(datetime,convert(varchar,@date,101)))) as Prev_Month_start,
dateadd(day,-1-day(@date)+1,convert(datetime,convert(varchar,@date,101))) as Prev_Month_End,
dateadd(day,1-datepart(dw,@date),convert(datetime,convert(varchar,@date,101))) as Week_Start,
dateadd(day,7-datepart(dw,@date),convert(datetime,convert(varchar,@date,101))) as Week_End,
dateadd(day,-6-datepart(dw,@date),convert(datetime,convert(varchar,@date,101))) as Prev_Week_Start,
dateadd(day,0-datepart(dw,@date),convert(datetime,convert(varchar,@date,101))) as Prev_Week_End,
convert(datetime,convert(varchar,year(@date)) +'-'+ right('0'+convert(varchar,((datepart(QUARTER,@date)-1)*3)+1),2)+'-01') as quarter_start,
dateadd(day,-1,dateadd(quarter,1,convert(datetime,convert(varchar,year(@date)) +'-'+ right('0'+convert(varchar,((datepart(QUARTER,@date)-1)*3)+1),2)+'-01'))) as quarter_end,
convert(datetime,convert(varchar,year(dateadd(quarter,-1,@date))) +'-'+ right('0'+convert(varchar,((datepart(QUARTER,dateadd(quarter,-1,@date))-1)*3)+1),2)+'-01') as prev_quarter_start,
dateadd(day,-1,dateadd(quarter,1,convert(datetime,convert(varchar,year(dateadd(quarter,-1,@date))) +'-'+ right('0'+convert(varchar,((datepart(QUARTER,dateadd(quarter,-1,@date))-1)*3)+1),2)+'-01'))) as prev_quarter_end,
dateadd(day,1-day(@date),dateadd(month,1-month(@date),convert(varchar,@date,101))) as Year_Start,
dateadd(year,1,dateadd(day,0-day(@date),dateadd(month,1-month(@date),convert(varchar,@date,101)))) as Year_End,
dateadd(year,-1,dateadd(day,1-day(@date),dateadd(month,1-month(@date),convert(varchar,@date,101)))) as Prev_Year_Start,
dateadd(year,-1,dateadd(year,1,dateadd(day,0-day(@date),dateadd(month,1-month(@date),convert(varchar,@date,101))))) as Prev_Year_End,
dateadd(ms,-3,dateadd(day,0,dateadd(month,1,dateadd(day,0-day(@date)+1,convert(datetime,convert(varchar,@date,101)))))) as Month_End_Ts,
dateadd(ms,-3,dateadd(day,-1-day(@date)+2,convert(datetime,convert(varchar,@date,101)))) as Prev_Month_End_TS,
dateadd(ms,-3,dateadd(day,8-datepart(dw,@date),convert(datetime,convert(varchar,@date,101)))) as Week_End_TS,
dateadd(ms,-3,dateadd(day,1-datepart(dw,@date),convert(datetime,convert(varchar,@date,101)))) as Prev_Week_End_TS,
dateadd(ms,-3,dateadd(day,0,dateadd(quarter,1,convert(datetime,convert(varchar,year(@date)) +'-'+ right('0'+convert(varchar,((datepart(QUARTER,@date)-1)*3)+1),2)+'-01')))) as quarter_end_TS,
dateadd(ms,-3,dateadd(day,0,dateadd(quarter,1,convert(datetime,convert(varchar,year(dateadd(quarter,-1,@date))) +'-'+ right('0'+convert(varchar,((datepart(QUARTER,dateadd(quarter,-1,@date))-1)*3)+1),2)+'-01')))) as prev_quarter_end_TS,
dateadd(ms,-3,dateadd(year,1,dateadd(day,1-day(@date),dateadd(month,1-month(@date),convert(varchar,@date,101))))) as Year_End_TS,
dateadd(ms,-3,dateadd(day,1-day(@date),dateadd(month,1-month(@date),convert(varchar,@date,101)))) as Prev_Year_End_TS,
Year(@date) as Year,
Month(@date) as Month,
Day(@Date) as Day,
datename(month,@Date) as Month_Name,
datename(WEEKDAY,@date) as Day_Name,
datepart(weekday,@date) as WD
return
end
go
select * from dbo.Dates(getdate())
go
drop function dbo.dates -
Drilldown Report-Drill on month filter target report from Jan-drilled month
Hi All,
As in requirement is to have a chart on parent record which has Month(Close Date Month of oppty) and based on click to navigate to target report showing opptys till the selected month.eg. if user clicked on March then Opptys from Jan - March should show up accod to Close Date.
I am stuck as I make the Month(Close Date) column as prompted in target report it is getting filtered on the only one Month.If i Click on March target report is showing only for March records which is by design ofcourse.
Another Drilldown has to be from a Chart where in Bar chart shows revenue per month.
Any prompts will be really helpful.Got it to work!!!
Using filtering on another analysis. -
Gregorian Calender converting month to string
I created a java bean that displays the current date, but i can't convert the month to a string so it displays the actually string of the month....
package jbeans;
import java.awt.*;
import javax.swing.*;
import com.borland.jbcl.layout.*;
import java.util.*;
public class Date extends JPanel {
private String sample = "Sample";
XYLayout xYLayout2 = new XYLayout();
JPanel jPanel1 = new JPanel();
XYLayout xYLayout1 = new XYLayout();
JPanel jPanel2 = new JPanel();
XYLayout xYLayout3 = new XYLayout();
JTextField month = new JTextField();
JTextField day = new JTextField();
JTextField year = new JTextField();
GregorianCalendar calendarObject = new GregorianCalendar();
private String author;
public Date() {
try {
jbInit();
catch(Exception ex) {
ex.printStackTrace();
private void jbInit() throws Exception {
this.setLayout(xYLayout2);
jPanel1.setBorder(BorderFactory.createRaisedBevelBorder());
jPanel1.setLayout(xYLayout1);
jPanel2.setLayout(xYLayout3);
jPanel2.setBorder(BorderFactory.createLoweredBevelBorder());
month.setFont(new java.awt.Font("Dialog", 1, 18));
month.setText("" + calendarObject.get(GregorianCalendar.MONTH));
month.setHorizontalAlignment(SwingConstants.RIGHT);
day.setFont(new java.awt.Font("Dialog", 1, 18));
day.setText("" + calendarObject.get(GregorianCalendar.DAY_OF_MONTH) + ",");
day.setHorizontalAlignment(SwingConstants.RIGHT);
year.setFont(new java.awt.Font("Dialog", 1, 18));
year.setText("" + calendarObject.get(GregorianCalendar.YEAR));
year.setHorizontalAlignment(SwingConstants.RIGHT);
xYLayout2.setWidth(357);
xYLayout2.setHeight(120);
this.add(jPanel1, new XYConstraints(21, 14, 324, 94));
jPanel1.add(jPanel2, new XYConstraints(15, 9, 294, 70));
jPanel2.add(month, new XYConstraints(23, 14, 112, 35));
jPanel2.add(year, new XYConstraints(215, 14, 60, 35));
jPanel2.add(day, new XYConstraints(151, 14, 50, 35));
month.setText(Integer.toString(GregorianCalendar.MONTH +2));
if( GregorianCalendar.MONTH == 4 )
month.setText("April");
}SimpleDateFormat dateformat = new SimpleDateFormat("MMMM");
Calendar today = Calendar.getInstance();
System.out.println(dateformat.format(today.getTime())); // AprilWhen you post code, please use [code] and [/code] tags as described in Formatting Help on the message entry page. It makes it much easier to read. -
Is there an issue with these months in Leopard?
On my system, neither month is functional. January is just a copy of the all-day events from December 07, for example.Try emptying the cache and delete the preference file. Quit iCal. Go to User Name>Library>Caches>com.apple.iCal. Empty that folder. And also go to User Name>Library>Preferences. Find the file "com.apple.ical.plist" and trash it. Empty the trash afterwards. Restart iCal.
-
Converting monthly filter to work quarterly
I am trying to use a period(YYYYMDD) status session variable filter on a fiscal quarter column (YYYYQN eg 2000 Q 2) - I am trying to filter out open periods from all reports so that all info left on the report is closed per our accounting department. The session variable is on a month level because the accounting team only close monthly periods and not quarterly. How would i be able to use this monthly period session variable to work on eg Fiscal Quarter column in answers.
So far I have tried this sql:
Time."Fiscal Quarter" <= VALUEOF(NQ_SESSION."CURR_PER_OPEN") but the Q3 and Q4 are still showing Q2 information (the last closed quarter).Works fine here, so there is hope. What is your SAP release, which ALV technique are you using (FMs, classes), please give an example for typical field values and desired filter criteria. Also list the data element and domain (standard?) and maybe a code snippet of how you build the field catalog for that field.
Thomas -
New Updates for Windows 8.1 in Jan & Feb 2014 crashes the BOOT
Hi everyone. Please be careful in updating the Windows 8.1 Latest updates that are released in Feb 2014. I guess the update for Windows 8.1 Security Update and Visual Studio Updates crashes down the boot for the Operating System. I reset/refresh the OS again
and which is working fine when I roll back to the System Restore Point.
I suggest you to create a manual Checkpoint before you update the OS. So that it will be easy to recover when you failed to boot the OS.
Perform the Security Updates after that will recover the Store App too.Hi,
Thanks for your sharing, While in may opinion, we couldn't completely sure this problem caused by Windows update, If so, it would have many feedback. Anyway, still thanks for your warm heart.
Roger Lu
TechNet Community Support -
ANN: Jan/Feb webinars (free) + live online training
Free webinars:
(no hype, no fluff, no nonsense; starting 10am PT)
Effective PDF Bookmarks with FrameMaker-to-Acrobat TimeSavers, January 17 (1 hour)
Single sourcing with FrameMaker: Tips & Tricks, January 23 (half-hour)
RoboScreenCapture, January 24 (half-hour)
Creation of an interactive PDF checklist -- Walkthrough, January 31 (1 hour)
FrameMaker Productivity with Express Customization, February 21 (1 hour)
[ registration links: http://www.microtype.com ]
Live Online Training (half-days):
FrameMaker-to-Acrobat Advanced Techniques, January 22,23,24,29,30
Testing PDFs, January 30
Single Sourcing with FrameMaker, February 5-6
Building a PDF Front-End Interface to Document Collections, February 7
Visually-Oriented Documentation, February 12-13
Rich Media in PDFs with FM-to-Acrobat TimeSavers+Multimedia Asst, February 14
FrameMaker Template Design, February 18-19-20,26-27-28
Using FrameMaker, March 5-6-7,12-13
[ More information + registration form: http://www.microtype.com/training.html ]
Shlomo Perets
MicroType, http://www.microtype.com
FrameMaker/Acrobat/Captivate training & consulting * FM-to-Acrobat TimeSavers/AssistantsServer Not Found.
Is this an intranet site? Did you inherit this mess? I don't mean to be rude or sarcastic but this code is terrible. I'm amazed that this is being used on a dot GOV server. I suppose if the public can't see it, it doesn't matter to the FAA that this site is a web accessibility and maintenance nightmare. 100+ redundant .styles on a single web page. That has to be a new record. If this site were in my charge, I'd recommend a total rebuild.
Anyway, in an attempt to answer your question, 90% of display problems are code related. Use the links below to check your code and fix all reported errors.
HTML Validator - http://validator.w3.org
CSS Validator - http://jigsaw.w3.org/css-validator/
HTML & CSS Tutorials - http://w3schools.com/
Best of luck,
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com
Maybe you are looking for
-
What is a page file/scratch/render disk drive?
I understand that computers using Premiere Pro usually have more than one hard drive; one for the operating system and programs. One or more for media. And one for page file/scratch/rendering? Can someone tell me how a page file/scratch/rendering dr
-
Digital copy transferred successfully to my computer, but not showing up in purchased list on other devices. This is the first time I've encountered this issue. Package insert says copy is iPad compatible. Is there anything I can do to fix this? (The
-
GPIB ENET/100 and PCMCIA GPIB+ pictures
Has anyone some pictures of GPIB ENET/100 and PCMCIA GPIB+ controllers with a higher resolution than the pictures on the website?
-
i want to reset the password on mac 10.8.4m but i have selected the "allow the user to administer this computer" i have make test with utilities and than terminal... but doesn't work. what can i do in this case. thank you
-
Warning while launching Eclipse 4.5 with Java 8
We are migrating our project from Eclipse 3.x to 4.5 MARS. Also java 6 to java 8. when i start my eclipse, the console log shows the following warnings. !ENTRY org.eclipse.ui 2 0 2015-07-17 11:46:57.425 !MESSAGE Warnings while parsing the key binding