Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Date-Calendar Find whether a date will be in the current quarter or the next quarter
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


heybuddy
Find whether a date will be in the current quarter or the next quarter
0 Answer(s)      2 years and 2 months ago
Posted in : Date-Calendar


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 box with values (Date as 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


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Find whether a date will be in the current quarter or the next quarter
Find whether a date will be in the current quarter or the next quarter   I have a date - example - 22-09-2012(start date) I have to find my end date... whether the day I have selected will be on the current quarter or in the next
Mysql Date Quarter
Mysql Date Quarter       Mysql Date Quarter is a query in SQL that is used to show Quarter... an example from Mysql Date Quarter. To understand and grasp this example we show
Advertisements
Getting Previous, Current and Next Day Date
Getting Previous, Current and Next Day Date   ... previous, current and next date in java. The java util package provides... the previous, current and next date to Date() constructor of java.util package
Java Find Next Date Example
Java Find Next Date Example In this example we will discuss about how to find the next date of the input date. This example explains you about how... will demonstrate you about how to find the next date of the input date
convert current date into date format
convert current date into date format  How to get current date and convert into date format in Java or PHP
Current date in php
Current date in php  How to show the current date in the HTML page using PHP Script
how to ckeck whether the date has expired - JDBC
how to ckeck whether the date has expired  i have maintained a table... of licenced copy in it.now compare current date with it, if current date is equal to expireDate or current date is greater than expire date, then it means
Iphone Current Date Application
Iphone Current Date Application  Hi, I am a beginner in the mobile web application segment. How can i develop Iphone Current Date Application. I need the online help guide or example about iphone current date format. Thanks
current date set
current date set  I need to set current date as default in a drop down list which has a label tag too in my jsp page.please somebody help me
javascript current date and time.
javascript current date and time.  How can we display current date...;Current date and time</title> </head> <script type="text/javascript... write new Date() it shows the current date in standard format
current date in php
current date in php  PHP script to get current date.   Hi, You can use the following code to print the current in PHP: <?php echo date('y m d'); ?> With the help of following code you can get the current date
Current Date iPhone SDK
Current Date iPhone SDK In this example, you'll find out how to get current date & day in iPhone SDK. We'll also write a method to print the day and date...;]; In this example, we aims to print the current day, current Date and first
Mysql Date Subtract
; Mysql Date Subtract is used to find the date between the current date and the date before the current date. Understand with Example The section... date  one day before the current date. DATE_SUB(curdate(),INTERVAL DAY
To Find the Latitude and Longitude of current position
To Find the Latitude and Longitude of current position  Hello Friends I need to find the Latitude and Longitude of a particular place. For this we have any Java code or not.. Pls Reply if You know
Mysql Date Name
; Mysql Date Name helps you to find out the current Date of the Month... the current date of the month. date_format(now( ),'%e') : The Query return you the current date of the month.  Query for selecting date from the current
Mysql Date Now
; Date Now in Mysql is used to find out the current date and time. Understand...'. In this example we help you to find out the current date and time in Mysql. The Syntax below returns you the current date and time: now ( ) :The now ( ) return you
JDBC : Current Date
JDBC : Current Date In this section, you will learn query for current date. Display Current Date : There are various methods provided by MYSQL to get current date. These are CURRENT_DATE, CURRENT_DATE(), CURRENT_TIMESTAMP, CURRENT
How to get the current date in Java?
How to get the current date in Java?  Hi, I am new to Java and trying to write a program to get the current date. How to get the current date in Java? Thanks   Hi, Check the tutorial: Java program to get current date
how to get current date without system date
how to get current date without system date  is there any possiblity to get current date instead of system date in Java, as i dont want to change date in program and if i change date in OS automatically change in program also
Getting the current date
Getting the current date     ... the current date in the proper format (Day/Month/Year). This program shows the current date by using the various methods and fields of the Calendar class
Date Next and Previous - Java Interview Questions
Date Next and Previous  In the example given here, DATE is displayed in DD/MM/YYYY format. Can anybody send me the code for getting DATE in MM/DD...(String[] args){ try { String str_date="04/04/2008"; DateFormat
getting current date without using system date - Date Calendar
getting current date without using system date  I want to get the current date but the Java code should not get System date as Current date. Pleae help me in getting current date without using system date. thanks in Advance
How to display current date in textbox - Date Calendar
How to display current date in textbox  Hi guys, I'm really need your...;% } This is my problem: I want to display current date in textbox... Date(); var month = currentTime.getMonth() + 1; var day
Java current date - How to get current date in Java
In this section, you will learn about displaying current date and time in Java
Mysql Date Month
Mysql Date Month       Mysql Date Month is used to find out the value of current month. Understand with Example The Tutorial illustrate an example from 'Mysql Date Month
iPhone Current Date, iPhone Current Date Application
; In this wesynthesize variable and also to display current date we use Stringwhich isdeclared in NSDateFormatter and isallocated and next is thestyle format    ... to display current dateon label by using Window based application. Creating
Get current Date and Time
Get current Date and Time In this section we will discuss about how to get current date and time in java. Java provide two classes, Date and calendar which will display the current date and time in java. SimpleDateFormat is used 
updated with current date n time
updated with current date n time  package LvFrm; import...; //for date month year entry String strD[]={"Day","1","2","3","4","5...); panel2.setBorder(b2); frm.add(panel2); /*for date entry
date format to be updated with current date time
date format to be updated with current date time  package LvFrm...; JButton b1,b2; //for date month year entry String strD[]={"Day","1...); /*for date entry & adding date into panel 2 also addind panel
J2ME Current Date And Time
J2ME Current Date And Time     ... the current date and time on the screen. Like core Java J2ME too use the same  java.util package to show the current date as well as current time on the screen
Mysql Date Last 30 Days
; Mysql is used to find out the last 30 days from current date... days'. To grasp this concept we find out the current date. The Syntax used to find out the current date:  curdate ( ) :The Query curdate ( ) help you to find
 

 

 

DMCA.com