Calendar Operation

Ads
 

Calendar Operation

I have a date - example - 22-09-2012(start date) I have to find my end date based on the current quarter

My input are month of the quarter which is a list box with values(1,2,3) , Day of the month in list both with values ( 1 to 31)

If my current quarter is 1 (Jan to Mar) thenin my month list box 1 will be january, 2 will be feb and 3 will be march Similarly this will vary for each quarter

Now I have selected my Month as 1, Since this quarter will be fourth quarter my month selected will correspond to september and my selected day of month is for example 6. Since 6 th is already past in month september, my Month selected from the month list box (that is 1) will correspond to the next quarter 1st month ( January)

If suppose my selected day of month is 23, it falls tomorrow and is not yet over so my end date should be calculated as 23-09-2012

How to find whether the day I have selected will be on the current quarter or in the next quarter

Please help

View Answers

Ads









Related Tutorials/Questions & Answers:
Calendar Operation
Calendar Operation  I have a date - example - 22-09-2012(start date) I have to find my end date based on the current quarter My input are month of the quarter which is a list box with values(1,2,3) , Day of the month in list
calendar
calendar  I got one requirement like this i have to display a calendar with only current month and whenever user selects the date, that date needs to be display in a text field
Advertisements
calendar
calendar  sir, how to fix calendar in javascript..pls provide the complete source code..   Please visit the following link: http://www.roseindia.net/javascript/javascript-calendar.shtml
calendar js
calendar js  there are two calendar on form and i want that once date chosen from first calendar , the second calendar should be disabled till that date. for eg once i have chosen date 21-03-2012 from first calendar
Search operation in JSP page
Search operation in JSP page  How to perform search in jsp with MYSQL database plz help me
Java Calendar !?
Java Calendar !?  I need to create a Java Calendar in an Applet. The calendar displays months (jan - dec) in a 3x4 grid ... jan feb march \n april.... so if a user picks the year 2000 show the calendar from that year. So how do i
javascript calendar popup code
javascript calendar popup code  javascript calendar popup code
login/logout operation
login/logout operation  how to do log in/out operations in jsp plz kindly send the steps leing behind this operation  
Calendar Issues
Calendar Issues  I am trying to get this calendar to to display to date selected on a new page. Right now it opens a new page but does not diplay the date from the calendar on the previos page. Here is my code <!DOCTYPE
Java code for buffer operation...!!!
Java code for buffer operation...!!!  Implement a buffer operation using character array, storing last 100 characters inserted by user. Make method to get and retrieve???   The given code accepts the characters from
login/logout operation
login/logout operation  how to do log in/out operations in jsp plz kindly send the steps leing behind this operation  
Searching operation in JAva
Searching operation in JAva  Sir, I have made a project for the Dispatch section of my office. I have to search for letters that are dispatched on a particular date. Now there are thousands of letters dispatched on a particular
Searching operation in JAva
Searching operation in JAva  Sir, I have made a project for the Dispatch section of my office. I have to search for letters that are dispatched on a particular date. Now there are thousands of letters dispatched on a particular
Searching operation in JAva
Searching operation in JAva  Sir, I have made a project for the Dispatch section of my office. I have to search for letters that are dispatched on a particular date. Now there are thousands of letters dispatched on a particular
Searching operation in JAva
Searching operation in JAva  Sir, I have made a project for the Dispatch section of my office. I have to search for letters that are dispatched on a particular date. Now there are thousands of letters dispatched on a particular
arithmetic operation on float number
arithmetic operation on float number  hi here is my code class divs { public static void main(String args[]) { double dub=14.2f,dou; int num; num=(int)dub; dou=dub-num
Calendar
ModuleNotFoundError: No module named 'Operation-Pluto'
ModuleNotFoundError: No module named 'Operation-Pluto'  Hi, My... named 'Operation-Pluto' How to remove the ModuleNotFoundError: No module named 'Operation-Pluto' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'kser-operation'
ModuleNotFoundError: No module named 'kser-operation'  Hi, My... named 'kser-operation' How to remove the ModuleNotFoundError: No module named 'kser-operation' error? Thanks   Hi, In your python
Operations with Calendar
getDateOfWeekDay(int weekId, int year, int weekDay){ Calendar cal
(Displaying a calendar in GUI
(Displaying a calendar in GUI  (Displaying a calendar) Write a program that displays the calendar for the current month, as Use labels, and set texts on the labels to display the calendar."The Calendar and GregorianCalendar
Calendar
Calendar       In this section we are displaying the days of  a specific month and the calendar format of the days for this month. We are also checking whether the year
ModuleNotFoundError: No module named 'Calendar'
ModuleNotFoundError: No module named 'Calendar'  Hi, My Python... 'Calendar' How to remove the ModuleNotFoundError: No module named 'Calendar... to install padas library. You can install Calendar python with following
event calendar sample
event calendar sample  creating a event calendar for my small app in PHP.. can any one explain about it's design with example php event calendar script
Version of com.obdobion>calendar dependency
List of Version of com.obdobion>calendar dependency
Mysql Time Operation
Mysql Time Operation       Mysql Time Operation performs the subtraction and addition of time. Understand with Example The Tutorial illustrate an example from Mysql Time Operation
Gregorian calendar class
Gregorian calendar class  Hai... What is the purpose of gregorian calendar class?   Java provides the standard calendar by providing the class GregorianCalendar in java.util package. The Gregorian calendar is used
codes for displaying in calendar
codes for displaying in calendar  can i get jsp codes for displaying comments, when the pointer is placed over the particular date in calendar
Javascript Create Calendar
Javascript Create Calendar  how to create calender application   Please visit the following link: Javascript create Calendar
php date input calendar
php date input calendar  I'm having an issue while writing the date input calendar function in PHP.. any help? Thanks
What is Calendar class in Java?
What is Calendar class in Java?  Hi, What is Calendar class in Java? I want to learn about this class to make use of it in Java programs. Thanks... find tutorials at Calendar tutorial page. Thanks

Ads