Islamic and Gregorian Calendar

Hi all
I have a task in which I have to convert Gregorian Calendar to Islamic Calendar and vise versa. Can somebody help
Sajid

Hi!
Plz describe ur problem in details

Similar Messages

  • F150 dunning prog. and Gregorian calendar-wrong interest rates calculation

    Hello everyone,
    I have a problem with F150 - dunnning program and the Gregorian Calendar. I defined a interest rate indicator and I choose Gregorian calendar - 365 days in the year but SAP calculate 360 days and the interest rates are wrong u2013 to high. I have found the OSS note 82995 - Dunning program interest calc. on 360 not 365 days u2013 but as a matter of fact there is no solution which is appropriate for me because I want to print interest along with dunning letter. Maybe you had had the same problem and maybe you found solution.
    Thank for you help
    Tom

    FSKB     G/L Account Posting
    this transaction is not working

  • ICal US and Christian calendar subscriptions

    I just noticed that these two Apple iCal subscriptions (US Holiday and Christian calendars) stopped working this week on multiple macs. Could these be related to mobileme ending, since the subscriptions are on mac.com servers?

    I had the same issue with the Christian calendar.  My US calendar is still working though.  You can get the US calendar from Apple at http://www.apple.com/downloads/macosx/calendars/usholidaycalendar.html.  Click Download and it should open up iCal/Calendars to let you subscribe.
    I can't find a Christian calendar hosted by Apple anymore (at first I thought they removed all religious calendars, but they still have Islamic and Hindu calendars, so I'm not sure).  Google offers one though.  You can subscribe to it if you have Google Calendars, and once you do there's an option to copy an ICS link, which can be used in iCal/Calendars.
    Try creating a new calendar subscription (in iCal/Calendars) and paste https://www.google.com/calendar/ical/en.christian%23holiday%40group.v.calendar.g oogle.com/public/basic.ics
    .  That's the link I copied from them, and I believe it should work even if you don't have Goole Calendars.

  • Issue with Gregorian Calendar and setting Day of the week

    Hi
    This may have a simple solution, but its currently got me stumped. Basically, after some calculation I determine the date that a particular event should occur on. These events are listed in a JTable where the column headers are the dates of the beginning of the weeks. In order to place my calculated event in the correct column I create a Gregorian Calendar, set it to the date of the event and then set the day of the week to the beginning of the week. Normally this works fine but for a few instances, rather than getting the date at the beginning of the week, I get the date thats the beginning of the next week.
    As a quick example, to kind of illustrate my problem:
    I determine that the date of the event is 27/06/2006 which is a Tuesday.
    I want this event to appear in the column headed 25/06/2006, the date of the beginning of the week.
    In fact it appears in the column headed the 02/07/2006 which is the beginning date of the following week.
    Is there anyway to get it so when I set the day to the first day of the week it goes to the beginning of the current week rather than the beginning of the next week?
    Any suggestions would be gratefully recieved as I'm currently struggling to think of any.
    Thanks

    Hi, I dont say Monday is the begining of the week. At least I dont think I do.
    As for code I'll post the conversion bit which is:
    for (int i = 0; i < areaNameSelectionTable.getRowCount(); i++) {
    GregorianCalendar conversionCalendar = new GregorianCalendar();
    conversionCalendar.setTime((java.util.Date) prioritiesTable.getValueAt(i, 10));
    conversionCalendar.set(GregorianCalendar.DAY_OF_WEEK, GregorianCalendar.SUNDAY);
    }//end for loopI then create a string from the GregorianCalendar in the format DD/MM/YYYY and compare that with the headers of my table columns (Also dates in the format DD/MM/YYYY) When they match thats the column this particular event should appear in. I can post this code if necessary, but I dont know if its relevant.
    Thanks

  • Chinese character Display for Date from Gregorian calendar in JSP

    Hi
    I am doing internationalization for my JSPs, as part of that i am doing character encoding to utf-8(for chinese/japanese). Evrything is fine..
    Now the problm is i am displaying gregorian calendar to select date in a small window using some javascript code...
    For default encoding it is working fine....for utf-8 or other encoding it is raising error.(may be javascript)and also the date is nto displaying properly..i think the problem would be in javascript/.
    So can you pls tell me how to over come this problm...
    thanks in adance...
    regards
    bhaskar

    Sorry ..forgot to include the output...
    this is the output i am getting instead of 29-Nov-2005 00:00:00
    29-A-2005 00:00:00

  • Get time difference Within 2 gregorian Calendars, 1 obtained via SimpleDate

    Hi guys
    I'm having a problem with an application, i've posted something before about it and with two GregorianCalendars.
    This one is receiving a GregorianCalendar value from the default constructor, and the second gregorian calendar from a String, using SimpleDateFormat class
    The problem is that whenever i start the application it get stucked at: "Deze datum ligt: 56 in het verleden" meaning from dutch "this datum is 56 days in the past"
    the issue is thus at the method "getVerschil()" which means "get difference" in Dutch.
    Even if you try to modify the date fields from the class with the main method, inserting new dates it keeps on telling me 56.
    I was wondering if you see anything strange in the code and then a little question.
    Does the JDK sees a GregorianCalendar made with the default constructor, and a GregorianCalendar made with a SimpleDateFormat string patter "dd-mm-yyyy", in the same way?
    I mean, can java make a comparison within the 2 Calendars recognising which are days and which are the months?
    Thank you guys:
    Below the codes, the first one is the interface and below you'll see the main method class which inserts the date with SimpleDateFormat
    public class Kalender {
          * attributes
         private final String patroon;
         private String datum= null;
         private String userDagText= null;
         private int userDag;
         private int userMaand;
         private int userJaar;
         long DAGMILLIS=  24*60*60*1000;
         //deze kalender wordt gemaakt op het moment dat de toepassingen aangezet wordt
         GregorianCalendar nu= new GregorianCalendar();
         //deze kalender word gemaakt door de user-ingevoerde datum
         GregorianCalendar userCalendar= new GregorianCalendar(userDag, userMaand, userJaar);
         //datum formatter
         SimpleDateFormat sdf;
          * Constructor
         public Kalender(String datum, String patroon){
              this.patroon= patroon;
              this.datum=datum;
              sdf= new SimpleDateFormat(patroon);
         }//EOF
         public void setUserDate(){
              Date userDatum= sdf.parse(datum, new ParsePosition(0));
              userCalendar.setTime(userDatum);
              userDag= userCalendar.get(Calendar.DAY_OF_WEEK);
              userMaand= userCalendar.get(Calendar.MONTH);
              userJaar= userCalendar.get(Calendar.YEAR);
         }//EOF
          * deze methode returns de hele date
         public String geefDatum(){
              return sdf.format(userCalendar.getTime());
         }//EOF
          * deze methode bepaald of de ingevoerde datum een schrikkeljaar is
          * deze methode vindt het tijdverschil tussen twee datums
         public String getVerschil(){
              long userMillis= userCalendar.getTimeInMillis();
              long nuMillis= nu.getTimeInMillis();
              if(nuMillis==userMillis){
                   return "deze datum zijn gelijk";
              } else if(nuMillis>userMillis){//userdatum in het verleden
                   long millisVerschil= nuMillis-userMillis;
                   long dagenVerschil= millisVerschil / (DAGMILLIS);
                   return "Deze datum ligt: "+dagenVerschil+" in het verleden";
              } else  if(nuMillis<userMillis){//userdatum in het toekomst
                   long millisVerschil= userMillis- nuMillis;
                   long dagenVerschil= millisVerschil / (DAGMILLIS);
                   return "Deze datum ligt: "+dagenVerschil+" in het toekomst";
              return " ";
    }The tester (main) class which creates the second GregorianCalendar is the following
    public class KalenderTest {
         public static void main(String[] args){
              //constructor werkt
              Kalender kal= new Kalender("01-28-2010", "dd-mm-yyyy");
              //setUserDate werkt
              kal.setUserDate();
              //testen van getVerschil
              System.out.println(""+kal.getVerschil());
         }Edited by: classboy on Apr 26, 2010 9:22 PM
    Edited by: classboy on Apr 26, 2010 9:23 PM

    classboy wrote:
    Does the JDK sees a GregorianCalendar made with the default constructor, and a GregorianCalendar made with a SimpleDateFormat string patter "dd-mm-yyyy", in the same way?Of course not.
    And is there anything wrong with your code? Plenty. You passed the fields to the GregorianCalendar constructor in the wrong order. You got the day of the week and then used it as if it were the day of the month. That's just from a quick look, there's probably more.

  • Gregorian Calendar: Calendar.VARIABLE

    Hey
    Im trying to make a calendar and i have read some tutorials about Gregorian Calendar.
    Im having problems with the Calendar.VARIABLE, which can not be found, for example: Calendar.MONTH or Calendar.YEAR.
    Im getting this error:
    Calendar.java 16: Cannot find symbol
    symbol : variable MONTH
    location: class classes.Calendar
    calendar.roll(Calendar.MONTH, false); // Go back a month
    Here is the code:
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    * @author Jesper
    public class Calendar {
        public Calendar(){
            GregorianCalendar calendar = new GregorianCalendar();
            calendar.roll(Calendar.MONTH, false); // Go back a month
            System.out.println(calendar.get(Calendar.MONTH));
    }

    You are trying to access java.util.Calendar.MONTH in your Calendar class. Either you use the fully qualifyed name java.util.Calendar.MONTH or even better rename you class to MyCalendar to avoid confusion.

  • Gregorian Calendar & Regional Settings effect

    I have a problem where the last week of the month gets cut off in my Calendar display.
    (e.g. Feb has 24 days instead of 28 yr2002)
    It occurs for all months except for March and June when the last day falls on a Sunday.
    It only happens when the Regional Settings is set as English (United Kingdom). No problem for US.
    Have used the Gregorian Calendar class. Is this a known issue?

    Do you have a sample code that shows this? Which version of java do you use?

  • I'm too old to learn iCal.  How do I tell iTunes to synch with Outlook for Mac for all of the Contacts and the Calendar on my iPhone and iPad??  Thanks

    I'm too old to learn iCal.  How do I tell iTunes to synch with Outlook for Mac for all of the Contacts and the Calendar on my iPhone and iPad?? 
    Also, once I figure out how to replace iCal with Outlook/Mac on iTunes, how do I synch the phone and pad so that the information on those devices over-writes onto Outlook as a backup, rather than having a blank Calendar on Outlook wipe out all of the information on the phone and pad???
    Thanks

    If you haven't tried already, plug your devices into iTunes, and on each device next to the "Summary" tab at the top is another tab called "Info." Click that and scroll down to Contacts, Calendars, etc. There should be a pull down bar under each category for "Sync contacts from..." and you should be able to select from that pull down list Outlook.  Hit Apply at the bottom and see if that does it.

  • We have an older IMac (preIcloud) and just purchased a new Macbook Air. Our Iphones are set-up to synch with the IMAC and my calendars on the IMac & the phone look the same. But when I open ICal on the MacBook Air my calendar is missing items? Help..

    We have an older IMac (preIcloud) and just purchased a new Macbook Air. Our Iphones are set-up to synch with the IMAC and my calendars on the IMac & the phone look the same. But when I open ICal on the MacBook Air my calendar is missing items? Help.

    Are you wanting to import iCal to the MacBook Air. Since iCloud doesn't work with 10.6 OSX you probably don't have any data in iCloud yet?

  • How can i get my ipad and iphone calendars to sync?

    my ipad and iphone calendars used to sync fine but recently they stopped syncing.  i haven't changed a thing so i don't even know how to begin fixing the problem.
    everything gets backed up into icloud and connecting the ipad and iphone to my laptop for sycing hasn't resolved the issue.
    my default email is a gmail account (calendar), which has been from the beginning;  however, i have an icloud account on both devices, and i use the same apple id on all devices and itunes.  in the past anything i would input into my gmail calendar on any computer would sync with my ipad and iphone, but no longer!! what happened?????  right now all calendars are independent of one another; anything i input into my gmail calendar doesn't show on my ipad or iphone calendar or vice versa.
    i have checked my ipad and iphone section by section to ensure everything is the same, and it is.
    i am sooo frustrated right now   somebody please help me to resolve this problem.

    The first step in troubleshooting this is to determine which of your devices are not syncing with iCloud.  To do this, add a new event on your iPad calendar and see if it appears on your calendar on icloud.com.  Do the same thing on your iPhone and in Outlook.  When you do this, which device is not syncing new events to the calendar on icloud.com?

  • Since Mavericks update my iPhone and iPad calendars are NOT syncing with the calendar on my MacBook Pro

    Since Mavericks update my iPhone and iPad calendars
    are NOT syncing with the calendar on my MacBook Pro.
    I used to use iTunes but don't see the options now.
    Does anyone know how to set up a sync.?

    I have temporarily solved the sync problem by using an older MBAir running snow leopard, I exported
    both calendar and contacts and imported them in the MBA and synced normally.
    Since I'm not about to send my data on the cloud, or setup a server to just sync my iphone,
    I think this is a good workaround ! BTW I stopped updating my contacts and calendar on the MB, I only
    update the iphone until a permanent solution is found !
    And they better come up with one soon, because I'll just switch to an Android phone and Ubuntu linux for my MBP, Apple should make our lives easier, not harder !
    I'm sure Samsung is having a ball ever since the sync issue was made public !
    Hopefully Apple is listening and will make things right again !

  • Family Sharing and family calendar ???

    I've read that the Family Sharing feature in iOS 8 offers a family calendar.  Looking for some guidance on how it works pls.
    We have four family members in our household, and each person has their own separate iCloud ID: [email protected], [email protected], [email protected] and [email protected]  This allows each of us to have a separate email address, separate 5GB of storage, etc.  I have set up Family Sharing on all our devices.  I am the Family Organizer (in Apple terminology).
    In addition to the separate calendar that each of us has with our individual iCloud ID's, my understanding is that we also can have a family calendar that all four of us can share.  I guess this would be a 5th calendar in our case: our four individual calendars plus the family calendar.  But I do not know how to set up the family calendar.  And once set up, I do not know how to specify that an entry should go on the family calendar versus going on my individual calendar.
    Advice welcome.

    Hi pomme4moi,
    Thanks for visiting Apple Support Communities.
    When you set up Family Sharing and added your family members, this should have created a shared iCloud calendar called Family that the other four iCloud accounts can use.
    Family Sharing creates a family calendar where everyone can view, add, or change events and appointments, and they can also get an alert when something changes. And anyone can use the Reminders app to send time or location reminders to the family. So when it’s picture day, pizza night, or just a trip to the beach, everyone’s in the know.
    From:
    Family Sharing
    You can add an event to the Family calendar by adding the event as normal:
    Add an event. Tap , then fill in the event details.
    From:
    Calendar at a glance - iPhone
    From the add an event screen, swipe down and tap Calendar, then choose Family to add the event you're creating to the shared family calendar.
    Best Regards,
    Jeremy

  • How can I sync "On My Mac" iCal calendars on Snow Leopard with iPhone and Google Calendar?

    Hi,
    (I've done a lot of searching for a clear answer but without success.)
    Can someone please advise how I can get the "On My Mac" calendars on iCal v4.0.4 (running under Snow Leopard 10.6.8) to sync with an iPhone and Google Calendars,  'over the air' (i.e. not via iTunes) and both ways (two-way syncing).
    There was a great bit of software called Spanning Sync which did it all but it's now discontinued. I'm running Snow Leopard and do NOT want to upgrade to OS Lion.
    I've tried the iCloud route but it just creates an extra set of "@me.com" calendars under the "On My Mac" calendars - it is not syncing the "On My Mac" calendars themselves (and I want to use the "On My MAc" calendars as the master dataset (the 'Truth database' to use an Apple term!).
    ... And the same happens when I try to sync my Google Calendars: another set of "@google.com" calendars appear.
    Now instead of 2 calendars in iCal I have 6: 2 On My Mac calendars, 2 iCloud ones, and 2 Google ones. (This is not progress Apple!)
    Hope someone can advise.
    Many thanks.

    Thanks Winston.  I'm aware that the 'on my mac' calendar doesn't get picked up by iCloud.  I'm wondering whether anyone can help with the best alternative solution for synchronisation of phone and Outlook.

  • Push and birthday calendar issues

    I'm having trouble with push. As a somewhat separate issue, I'm also having trouble with birthdays from iCal to the iPhone, push or not.
    I had no problem with birthdays transferring to my old iPhone.
    Should I set up MobileMe as .mac or .me, since I have .mac?
    All the settings in mail, contacts, and calendars on the iPhone are set to ON to push, and in iCal I have the birthday option on. The MobileMe Calendar does list the birthdays.
    I can't get mail pushed to the iPhone, but my calendar events, except for birthdays, do seem to come across.
    I saw a post last night on a different problem that suggested that Version 2.0 (5A345) had known issues, and to do a restore and get 5A347. I did that this morning and haven't noticed a difference.
    I hope I'm making sense, I'm a little punchy after trying to figure this out.
    I'm resending this post, as it was posted as a reply to another post this morning. No one responded, and that post is basically off the radar now. I apologize in advance.

    Im having the same problem with iphone and birthday calendar. It shows on mobileme and ical but not the iphone. Please send a email to Apple at www.apple.com/feedback. I hope they resolve this issue too.

Maybe you are looking for

  • How do I save photos from iphoto to external hd without Time Machine?

    I have a seagate 320gb freeagent external hard drive and would like to know how to save my iphoto pictures on it. I cant seem to drag & drop folders from the application & Help only mentions using Time Machine which I dont particularly want to do (I

  • How to get better milisecond timer resolution

    I am running a Measurement and Computing DAQ card.  In software we are polling the card for voltage level at rapid intervals, these intervals are controlled using a call to the millisecond timer vi.  We have set the software to poll to at about 10 ms

  • Cookies not recognized in NSMutableURLRequest

    Hi, I'm trying to send a NSMutableURLRequest that has 2 attached cookies. When I perform a sendSynchronousRequest on it, I am redirected to the sign-in page, meaning the cookies weren't attached to the request. I have the following code below. I've t

  • Setting up "secure" public accespoint

    the plan is to use the wrt54GL   to provide an open/free accespoint as a service to visitors. to protect them i would like to block traffic between the logeed on users. to cut it short.   people can log on without password and use internet. but only

  • Submit to program RKO7KO8G

    Hi , Iam sumitting the data from a program to sap standatd program RKO7KO8G         SUBMIT rko7ko8g USING SELECTION-SCREEN '1000'         WITH SELECTION-TABLE t_rsparams        WITH KOKRS EQ 'A001'         WITH variant EQ 'TEST1'          WITH PERIO