Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 23rd, 2008, 5:34 PM   #1
hassan
Newbie
 
Join Date: Feb 2008
Posts: 1
Rep Power: 0 hassan is on a distinguished road
use gregorian calendar to do something after a month

Hi guys, In my code, I've opened an account, and in another class (which I've used extend on), after a month of opening that account, I want to add a number to a number that was stored in a variable in a different class. Can you tell me how to store a time of opening an account, and then in a seperate class, how to do something a month after that account was opened?

Thanks

Btw. I'm using the gregorian calendar
hassan is offline   Reply With Quote
Old Feb 24th, 2008, 1:16 AM   #2
Grich
Professional Programmer
 
Grich's Avatar
 
Join Date: Sep 2007
Location: Sydney - Australia
Posts: 287
Rep Power: 2 Grich is on a distinguished road
Re: use gregorian calendar to do something after a month

Could I see the code, it may help.
__________________
SYNTAX ERROR ...
Grich is offline   Reply With Quote
Old Feb 25th, 2008, 4:56 PM   #3
crawforddavid2006
Expert Programmer
 
crawforddavid2006's Avatar
 
Join Date: Apr 2005
Location: Not sure yet
Posts: 597
Rep Power: 0 crawforddavid2006 is an unknown quantity at this point
Send a message via AIM to crawforddavid2006 Send a message via MSN to crawforddavid2006
Re: use gregorian calendar to do something after a month

Agreed, could we see some code, and we should be able to help you.
__________________
Quote:
Originally Posted by DaWei View Post
Well, it's better than Pen Islands url....;)

crawforddavid2006 is offline   Reply With Quote
Old Feb 25th, 2008, 5:14 PM   #4
Grich
Professional Programmer
 
Grich's Avatar
 
Join Date: Sep 2007
Location: Sydney - Australia
Posts: 287
Rep Power: 2 Grich is on a distinguished road
Re: use gregorian calendar to do something after a month

I think he's gone.
__________________
SYNTAX ERROR ...
Grich is offline   Reply With Quote
Old Feb 25th, 2008, 6:15 PM   #5
mrynit
Hobbyist Programmer
 
mrynit's Avatar
 
Join Date: Mar 2006
Location: WA, USA
Posts: 342
Rep Power: 3 mrynit is on a distinguished road
Send a message via AIM to mrynit Send a message via MSN to mrynit Send a message via Yahoo to mrynit Send a message via Skype™ to mrynit
Re: use gregorian calendar to do something after a month

you can look at the API. you just use a method to get the date and have a setter to sotre the value in a instance field.
__________________
i dont know much about programming but i try to help
mrynit is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weitian calendar jumpboy11j Java 9 Jan 10th, 2008 5:19 PM
Calendar Program smita Existing Project Development 0 Mar 15th, 2007 8:55 AM
PFO Calendar Simulation Sane PHP 0 Apr 15th, 2006 8:57 PM
Syncronize Calendar iCal with Sync4j server??? hdricard C++ 0 Jul 31st, 2005 11:57 AM
Tdate, calendar and array things gaara Delphi 0 May 13th, 2005 8:56 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:54 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC