Days In Month Formula

We are trying to build a formula in HFM v11.1.1 which will encompass the days in month. The days will be static ie: Jan=31, Feb=28, March=31. Has anyone used a similar formula?

You might find this helpful: Days In Month Calculation Returns wrong value
Cheers,
Mehmet

Similar Messages

  • Report by Day/Week/Month/Year

    Hi All,
    I have the table showing below
    Empid     name     tikcetno     Completed date
    694     anil     10051     23-Jun-09
    695     madhu     10052     23-Jun-09
    694     anil     10053     23-Jun-09
    695     madhu     10054     22-Jun-09
    695     madhu     10055     6-Jan-09
    I need to create the report which will show employee wise count of tickets in a day,week,month and year.                  
    Day: count(tickets) for current date
    Week: count(tickets) for current week
    Month: count(tickets) for current month
    Year: count(tickets) for current year
    I need to show all these four columns in a horizantal table. I am using crystal reports2008. Please help me. ur help would be appreciated.
    Anil.

    Hi,
    create 4 formulas for day, week, Month and year
    for ex, in Day formula
    IF Date Field = CurrentDate then 1 else 0... similarly for other ranges. Create a Group based on employee, and insert a SUM  summary field of these formulas in Group header.
    Hope this will help you.
    Jyothi
    Edited by: Jyothi Yepuri on Jul 13, 2009 3:04 AM

  • 1st & last day of month based on month selected

    Hi All,
    I am an infant in BO. I want to create a variable in which I need to compare Order Creation Date with First Day of Month and Last Day of Month.
    I have gone through the posts here regarding this, I found huge no of posts on calculating the 1st & last day of month based on a date value. But,
    I don't have any date objects in the universe level, instead I have only Month Name/Month Number objects in the universe level (as it is a monthly report)
    So, How to create 1st day & last day of month based on the month selected.
    That is, If I run the report for FEB 2011 (Prompt values), I need the outputs as 01/02/2011 & 28/02/2011 as my 1st & last date values respectively.
    I am working on BOXI R 3.1
    Thanks in Advance,
    Mitch

    Hi
    Create a variables and write a formula like
    Also add Month number Object in query level
    Var_Month
    =userresponse("Enter Month")
    Var_A
    "01/"MonthNumberObj+Right(var_Month;4)
    var_First date
    Todate(var_A;"dd/MM/yyyy")
    var_lastdate
    =lastdayofmonth(var_Firstdate)
    Note: check the default format for date according to ur database like MM/dd/yy or something like that . and add in the var_firstdate
    regards
    Sunil

  • How do you show the number of days per month?

    How do you show the number of days per month?
    I am working on a budget.  I want to know how much to amortize each month to fund an investment.  Income comes monthly, but expenses leave in days, or weeks.  The number of days and weeks in months vary. 
    I want to figure out income and expenses per day, per month and per year, so I know how much can be invested each month, week or day.  For a start I would like a formula that shows how many days are in each month?

    thanks..
    I solve my problem as
    public class MyExample {
        public static void main(String a[]) {
            String stdate = "2009-03-01";
            java.sql.Date currentDate = new java.sql.Date(System.currentTimeMillis());
            java.sql.Date preDate = java.sql.Date.valueOf(stdate);
            System.out.println(currentDate);
            System.out.println(preDate);
    //        int dateCom = preDate.compareTo(currentDate);
    //        System.out.println(dateCom);
            long diff = currentDate.getTime() - preDate.getTime();
            int days = (int) Math.floor(diff / (24 * 60 * 60 * 1000));
             System.out.println(days);
    }

  • Business days in month

    Hello,
    I need to create a new report with some external data, from a formula or table.
    This report is just a Total Amount value multiplied by the current business day in the total business days in the current month. This is just to preview the total amount expected in the end of the month. For example:
    The current sales ammount is 100, and today is the business day 15. The month have 22 business days so: 100 * (22/15) = 146,66. This is just an a approximate value in the end of the month.
    The problem is: How can I get in a column the value of the business day of today?, and, how can I get the total business days in the current month?.
    I've tried to get those values froma a sql function (actually this is working) but i can't use this inside Oracle BI.
    Also, I've tried to make a table with all the values of this columns. Date - Business day in month - Total business days in month. Then import at the repository with date dimension relationship, but in BI it gets the date of the last Sale (maybe the last sale was 2 days ago, and the relationship with my table was with Date, not today.
    It's hard to explain, but essentialy I need to get just to values: Today Business Day and Total business day. I can generate this values with any other tecnology (Oracle, any language, table...) but unable to import or use it inside oracle BI.
    Thanks.

    Since you raised this under a E-business suite subforum, I assume you have EBS.
    Normally in Oracle EBS, each organization is associated with a calendar and the calendar specifies which day is a working day and which is not.
    That data is stored in bom_calendar_dates.
    Sandeep Gandhi

  • Ios 5 Update New Features says that iCal now has a week view for iPhone but after updating last weekend, I don't see any week view--just List, Day and Month..How do I get the week view?

    ios 5 Update New Features says that calendar now has a week view but after updating my iPhone 4 last weekend, I don't see any week view for iCal--just List, Day and Month as in the past. Is the weekly view available for iCal and if so, how do I access it?

    Rotate your phone to landscape.

  • Highlighting multiple days in Month View?

    Hello everyone & Happy Friday All !!!
    I'm new to this forum, and VERY new to using ical -
    Here's my question:
    In my old method of using a calendar to do my schedule on my old PC -
    I'd make a spreadsheet in MS Excel that would show me monthly views that I could highlight days,
    weeks or entire months..... It's crude in comparison to ical, yet it IS effective for my needs......
    I am used to highlighting either a single day or a string of days in my "month" view,
    so... for example - let's say that Monday thru Thursday of next week I am going to be "out of the office in London - UK" -
    I would simply highlight the four days of next week - and instead of leaving those cells "white"
    like every other day in the month - I'd change those four cell's colored "fill" option from white to
    bright yellow - (or any other color that signifies a specific action or function - like "green" for vacation days, or "blue" for a sick day or surgery, etc....
    This way - that at a glance (literally) - I can tell that I'm "out of the office" on those days next week that are colored other than "white"..... NOTE: the ENTIRE CELL - Not Just the Day Title is colored......
    (I wish I could insert a visual example of what I am trying to describe here...)
    Is there a way of doing this same kind of function in ical - so that I can have an "at a glance" or
    "heads up display" that I can see quickly and know I'm committed on those days next week - or
    any week or group of days for that matter?
    This would help me tremendously of there is a way of doing this...... Otherwise - I'll be STUCK
    in the 90's using my improvised Excel Spreadsheet Calendar.....
    Thanks in advance for your help
    kevin

    Welcome to the discussions, azstoneconsulting.
    In iCal colours are tied to specific calendars, so make a vacation calendar and a sick calendar (you forecast your sickness? Cool) and an out of office calendar and set the colours to whatever colour suits. Then when you are going to be in London select the out of office calendar and set it to last the four days. It will show as a coloured bar across those days in month view.
    AK

  • Changing the default event time to all-day in Month View?

    I updated to Mavericks today, and when I went to add an event to my Calendar, I discovered that all-day was not the default time.  In Mountain Lion, when going to add an event in Month View, it was automatically set to all-day, which is perfect because all of my events are all-day events.  Now, it's being set to 9:00 to 10:00, and I have to check the box to make it all-day.  I know that this isn't much work, but when I'm adding dozens of events it starts to get a little annoying.
    Calendar 7.0, OS X 10.9 (Mavericks).
    Any help would be greatly appreciated.

    npatelaz,
    I don't think that it is possible, even using Terminal. If you want to change your workflow, "all day" events can easily be created in the Day/Week view, but as you stated the Month view poses a problem.
    Calendar Help says:
    To make:
    An event that lasts all day:
    In Day or Week view, double-click in the “All-day” section at the top of the calendar.
    An existing event last all day:
    In Day, Week, or Month view, double-click the event, click the date, then select “All-day.”
    A multiday event:
    In Week view, drag from the start time to the end time. You can drag across multiple days.In Day or Month view, create an event. Then, enter the start and end dates and times.
    An all-day event into a multiday event:
    In Week view, drag the all-day event across multiple days.
    How to Change the Default Duration of New iCal Events - The Mac Observer was written over a year ago, but it may give you some other ideas.

  • TZ of Day/Week/Month View is US/Pacific - Info Box & System TZ US/Eastern

    Just noticed this - don't think its been happening for long - probably a couple of days at the worst.
    When I create a New Event, the Time Zone is automatically incorrectly set to US/Pacific. I change it to Eastern (via Info Box) and it displays in the Info Box as Eastern, but the Daily/Weekly/Monthly view seems to remain at US/Pacific. (System prefs set to Eastern TZ).
    In addition ALL my events display in Day/Week/Month view as US/Pacific TZ, even tho Info Box TZ (and system TZ) is US/Eastern.
    For Example: Info box says event starts at 5PM goes to 9PM, Time Zone is US/Eastern. Calendar Display in Day, Week or Month shows event from 2PM to 6PM.
    This has affected every one of my events.
    I am running OSX 10.4.9,build 8P135 iCal Version 2.0.5 (1069)
    iCal Support for Time Zones turned On.
    Date/Time System Preferences appear to be OK
    System Time (measured by Menu Clock and verified by save time on a file) is OK - (Am writing this at about 2:40PM EST, Sunday 6/3/2007.
    Here's my Software Update.log
    2007-05-15 23:43:37 -0400: Installed "Java 1.3.1 and 1.4.2 Release 2" (2.0)
    2007-05-15 23:44:19 -0400: Installed "iTunes Phone Driver" (1.0)
    2007-05-15 23:44:42 -0400: Installed "X11 Update 2006" (1.1.3)
    2007-05-15 23:45:15 -0400: Installed "QuickTime" (7.1.6)
    2007-05-15 23:46:24 -0400: Installed "Security Update 2007-004 (PowerPC)" (1.1)
    2007-05-16 00:51:49 -0400: Installed "J2SE 5.0 Release 4" (4.0)
    2007-05-16 01:21:55 -0400: Installed "Java for Mac OS X 10.4, Release 5" (5.0)
    2007-05-31 01:21:19 -0400: Installed "Security Update (QuickTime 7.1.6)" (1.0)
    2007-05-31 01:23:41 -0400: Installed "Security Update 2007-005 (PowerPC)" (1.1)
    2007-05-31 01:24:42 -0400: Installed "iTunes" (7.2)
    Looked in various logs but didn't see anything that seemed suspicious to me.
    Help or suggestions about where to look to uncover solution to this mess appreciated.
    Mini - 1.42 Mac OS X (10.4.9) 1Gig (self installed)

    It was US/Pacific -
    I just changed it to US/Eastern and everything seems to work correctly now. I never even noticed that setting before - I guess I may have reset it by accident?
    I see you're from Bristol, UK. A friend told me a few hours ago that he has to make a business trip there sometime this summer and was thinking about bringing his family (from Boston, USA). We were not too clear on English geography tho - is Bristol a decent family vacation destination?
    Mini - 1.42 Mac OS X (10.4.9) 1Gig (self installed)

  • Disconnected Slicer in PowerView - Hour | Day | Week | Month | Year | Max

    I want to create a Power View chart in Power BI with the Minute/Hour/Day/Week/Month/Year filters:
    Workbook can be downloaded at:https://www.dropbox.com/s/r00btg5zb8snohz/Disconnected%20Slicer%20Demo.xlsx?dl=0
    when MINUTE is selected the chart should display:
    Total Number of Msgs vs. X-axis showing the last 60 seconds (from current time) with 5 or 10 seconds interval.
    when Hour is selected the chart should display:
    Total Number of Msgs vs. X-axis showing the last 60 minutes (from current time) with 5 minutes interval.
    ex: 10:00AM 10:05AM 10:10AM ...................................11:00AM
    when DAY is selected the chart should display:
    Total Number of Msgs vs. X-axis showing last 24 hours (12AM to 11:59PM with 1 hour interval)
    when WEEK is selected the chart should display:
    Total Number of Msgs vs. X-axis showing the last 7 days from current datetime stamp with 1 day interval.
    when MONTH is selected the chart should display:
    Total Number of Msgs vs. X-axis showing the 30 days from current datetime stamp with 1 day interval
    when YEAR is selected the chart should display:
    Total Number of Msgs vs. X-axis showing the last 12 months from current day with 1 month interval
    It would be great if the PowerView chart can be made to look something like this:
    shown in the below link:
    When '5 Day' is selected the values in the Y axis and X axis change automatically.
    Here's the link:
    https://www.google.co.in/search?&biw=1600&bih=799&sclient=psy-ab&q=google+share+price&oq=google+share+price&gs_l=serp.3..0l4.148.192.3.270.2.0.0.2.2.0.0.0..0.0.msedr...0...1c.1.60.serp..0.2.11.Jf8jXyUgmDA&pbx=1&bav=on.2,or.r_qf.&bvm=bv.82001339,d.dGY&ech=1&psi=qcGPVJmeJoHGmQXsooDACQ.1418707370733.9&ei=nsOPVJGiI6GgmQW0g4LABA&emsg=NCSR&noj=1
    for more clarifications and information please feel free to reach out to me at [email protected]
    www.twitter.com/mph88

    Hi Manjunath,
    Currently looking into a possible solution although some of the limitations within Power View restrict how close we can get to the ideal result. Still exploring some approaches :)
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com, Twitter:
    @nimblelearn

  • ICal events are missing Day and Month in date

    Hello, Sorry if this has been addressed elsewhere - this is such a weird fault I was not sure how to search for it.
    My iCal events are missing the Day and Month in their start and end dates - it just shows a 4 digit year which can only be edited as a 4 digit number. All my events are in their correct places but I am unable to create new multiday events.
    This applies to old and new events alike. I tried trashing my iCal prefs file but it made no difference.
    Anyone any ideas? I am using iCal 3.0.8 on Leopard 10.5.8.
    Thanks in advance.

    Worked it out - I was using a custom date format to give me day and date in the menu bar - reverting to one of the standard built in 'British' works - but then I lose my day in the menu bar....

  • View Modes - Day-Week-Month

    Does anyone know of any way to add a quarterly view mode? (in otehr words being able to see 90 days at a time as an added view option - Day/Week/Month/Quarter)
    If not, are there any third party workarounds that can modify and provide a 90 day view mode in iCal?
    At the very least is there any EFFECTIVE way to communicate and get this easy enhancement added to the upcoming version of iCal.
    It is incredibly inconvenient to have to move calendar items to the following month with the restrictive view of only one month. IN other words, if I wanted to move an appointment from February 24 to say March 20 I am forced to manually open the item and type in new dates.
    A great system program known as DateBook Pro 4.0 had such a view option and I absolutely miss it EVERY day!

    I am experiencing the same symptoms - Day, Week, Month and the Today button are all grayed out. It particularly seems to happen if I've left iCal running overnight. The only way I've found to fix it is to re-start iCal. When this is happening, the only way to navigate to a different week (or month) is to use the menu "Go to date" function. I think the onset of this problem relates to an Apple software upgrade , but I can't be sure which one.

  • ICalendar: How do I know what day, in month view, I am working on?

    The calendar in Mavericks is so frustrating compared to SL. How do I know what day, in month view, I am working on? There is no highlight or box or anything. Am I missing something? Also I suppose its not possible to just see 1 month anymore like it use to be instead of seeing 6 weeks. Thanks.  Sure wish Apple would let us keep our Macs the way WE like it with a classic setting everytime they add something that they think is better. Like those awesome grey icons all over the place instead of color.

    The day with the red line on top is today

  • Calendar in List view different from Day and Month view

    When I look at my Calendar in 'List' view all of the Birthdays and Events are in the wrong date but in 'Day' and 'Month' view they are correct. 
    Has anybody found a fix for this yet?  I have looked at similar discussions but they are all a couple of years old and none seem to have found the solution

    It looks like I have found a solution - it is to do with the birthday dates - if you delete the year of any pre-1932 birthdays it solves the problem! 

  • Multiday event should span days in month view

    Hi all,
    I have an event that spans multiple days (begin is Dec 3 @ 12 AM, end is Dec 6 @ 12 AM), but it only appears in one day on iCal's month view. In week view, the event spans all three days.
    How can I ensure that an event that spans days +actually visually+ spans the days in month view?
    Thanks,
    Matthew

    Is there not any other way. I to have events that are not actually whole day events but that are spanning mulitple days.

Maybe you are looking for

  • External keyboard questions

    I want to buy an external keyboard for use when I'm not traveling. I am considering the Apple Wireless Pro keyboard and would welcome any opinions about that one or any others (wireless OR wired) you like or dislike. Another question is about mice/tr

  • Streaming from iPod Touch to an iMac?

    I just downloaded the NetFlix app to my iPod Touch 32 GB and lo and behold I can stream "instant watch" content from NetFlix to my iPod. But the screen is tiny. I know there are cables I can use to connect the Touch to a TV. But my question is: Is th

  • Changing the timing in scheduler jobs

    Hi All, In the below code I have given the execution timing as 2:15. But next run date value is showing as 3:00 AM. What is wrong here?. I created this job at 2:00 AM SQL> select owner,LAST_START_DATE,NEXT_RUN_DATE from dba_Scheduler_jobs where JOB_N

  • Can a sandisk be used on the macbook pro w/retina?

    Can I use a sandisk on my macbook pro with retina?

  • Sound Drift

    Hi, I exported the sound (as OMF) for post work but when I got it back from my sound man (as an aiff file) and I import it back into FCP 6, it drifts. I know it's not the problem with the sound file itself as it is perfectly in synch when played over