Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Jan 6th, 2008, 3:29 PM   #1
jumpboy11j
Newbie
 
Join Date: Dec 2007
Posts: 8
Rep Power: 0 jumpboy11j is on a distinguished road
Weitian calendar

I have invented a calendar for Mars. It is called the weitian calendar (http://newmars.com/wiki/index.php/Weitian_Calendar), and I would like to write a program-Java, javascript, flash etc. To show the time/date on mars. it can be very simply shown, it doesn't matter to me but could someone tell me how I might do that?
jumpboy11j is offline   Reply With Quote
Old Jan 6th, 2008, 3:41 PM   #2
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 375
Rep Power: 0 King is an unknown quantity at this point
Re: Weitian calendar

Pretty much any programming language would be able to do this. I would start by learning a programming language... then go from there. I suggest learning C#; after a couple weeks you should at least have an idea of how to get started on solving this problem... at which point you might be able to ask some more intelligent questions. Good Luck!
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Jan 6th, 2008, 3:55 PM   #3
jumpboy11j
Newbie
 
Join Date: Dec 2007
Posts: 8
Rep Power: 0 jumpboy11j is on a distinguished road
Re: Weitian calendar

which would it be the easiest to solve this problem in?
jumpboy11j is offline   Reply With Quote
Old Jan 6th, 2008, 4:08 PM   #4
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 375
Rep Power: 0 King is an unknown quantity at this point
Re: Weitian calendar

Do you know any languages at all now? You should use what you know. Personally I would pick C#... but seeing how this is in a Java forum you could also probably get it done in Java fairly easy (personally I don't like Java).
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Jan 6th, 2008, 4:19 PM   #5
jumpboy11j
Newbie
 
Join Date: Dec 2007
Posts: 8
Rep Power: 0 jumpboy11j is on a distinguished road
Re: Weitian calendar

I am acquainted with HTML, in the most basic possible way.
jumpboy11j is offline   Reply With Quote
Old Jan 6th, 2008, 4:38 PM   #6
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,840
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Re: Weitian calendar

Unfortunately that won't help you at all.

If you want to be able to cover the functional aspect of it, such as showing the current day, conversion of times between planets, etc... I'd learn a programming language that's simple with the syntax, and good for plain old Math. Such languages would by Python, Pascal, or something else with lots of teaching resources and a small learning curve.

If you want to make a graphical calendar, you would need quite a bit more knowledge and experience. The easiest route would be PHP or Visual Basic, but it will take a while to learn everything that's necessary.
Sane is offline   Reply With Quote
Old Jan 6th, 2008, 6:32 PM   #7
jumpboy11j
Newbie
 
Join Date: Dec 2007
Posts: 8
Rep Power: 0 jumpboy11j is on a distinguished road
Re: Weitian calendar

python it is, I guess.
jumpboy11j is offline   Reply With Quote
Old Jan 6th, 2008, 7:17 PM   #8
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,840
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Re: Weitian calendar

Good choice. I'm excited to help you with any questions you have at all.

I'd like to recommend a free online book: "Python - How To Think Like A Computer Scientist"
http://www.greenteapress.com/thinkpython/html/

This is what I always reference as a great starting point for those new to programming, and Python. It looks a little daunting, each main bullet is a chapter of the book. So this book has around 20 chapters. But, don't be scared! You would only need to read a measly 2, maybe 3 chapters to do some mathematical computations, conversions, and the likes. It won't be long before you can make some scripts that do some basic things.

If you're serious about learning this stuff, it should be no problem. I remember having fun myself reading this.

Once you want to make it look more like a usable program, again, you only need the next 3-5 chapters after that to cover it all.

Hit up the Python forum if you run into any problems. Good luck.

Last edited by Sane; Jan 6th, 2008 at 7:30 PM.
Sane is offline   Reply With Quote
Old Jan 10th, 2008, 3:30 PM   #9
jumpboy11j
Newbie
 
Join Date: Dec 2007
Posts: 8
Rep Power: 0 jumpboy11j is on a distinguished road
Re: Weitian calendar

what would you say is the best free compiler for python?
jumpboy11j is offline   Reply With Quote
Old Jan 10th, 2008, 4:19 PM   #10
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,840
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Re: Weitian calendar

The one that comes right with the default Python installation.

If you've installed Python, it should already be in the startup menu's Python folder, by the name IDLE (Python GUI).

It can be glitchy, but it's good enough to get the job done; it has served me well for 3 years.
Sane 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
Calendar Program smita Existing Project Development 0 Mar 15th, 2007 7:55 AM
PFO Calendar Simulation Sane PHP 0 Apr 15th, 2006 7:57 PM
need help with a javascript calendar rouli JavaScript and Client-Side Browser Scripting 2 Oct 19th, 2005 6:52 AM
Syncronize Calendar iCal with Sync4j server??? hdricard C++ 0 Jul 31st, 2005 10:57 AM
Tdate, calendar and array things gaara Delphi 0 May 13th, 2005 7:56 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 9:51 AM.

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