Thread: Inbetween Dates
View Single Post
  #1 (permalink)  
Old 12-11-2007, 10:50 PM
Rageagainst20 Rageagainst20 is offline
Member
 
Join Date: Dec 2007
Posts: 8
Rageagainst20 is on a distinguished road
Inbetween Dates
Hello I am new very to Java (I am having fun with it though!) I was wondering if this is hard to do.

Sorry about the suedo code

Code:
If TodaysDate = (>StartDate AND <EndDate)
I just what to make a condition that if todays date = greater than a start date and less than an end date then

***Something will happen (in this case my program adds 10% to the price). This is bascially for a billing program that adds on a quartely charge for each customer. The thing is, it as to detect with quarter has gone if you divide 365/4 thats 91.25 days a year. Now each of these 4 quarters could be called winter spring summer and autumn. From this my program needs to go on to detect the difference between the end of that quarter and todays date, from this i can work out a discount for paying arly or a cahrge for playing late.

Thanks for reading please help me I am all out of ideas and have nowhere to begin
Reply With Quote
Sponsored Links