Forums Register Login

Calendar

+Pie Number of slices to send: Send
Just for the fun of it i was thinking i'd make a _very_ simple "calendar"... notice _very_ simple
Now, for every "monthname" (january, february and so forth) as well as "daysname" (monday, tuesday.. etc) i dont wanna have to write a option for each one of them.
Is there any automatic thing that knows the order of the month and days so that it could be used in something like

or at least the part?
Thanks in advanced! /Linnea
+Pie Number of slices to send: Send
Would it not make more sense to learn about the Java API which has already solved this problem?
+Pie Number of slices to send: Send
 

Originally posted by William Barnes:
Would it not make more sense to learn about the Java API which has already solved this problem?


Uhm, then what is Java API? And where can I find it?
+Pie Number of slices to send: Send
For the API you go here: java.sun.com
And you can start with these if you are interested in dates:
java.util.date
java.text.DateFormat
java.util.Calendar
+Pie Number of slices to send: Send
Thanks!
A sonic boom would certainly ruin a giant souffle. But this tiny ad would protect it:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 786 times.
Similar Threads
how to caculate first day / last day of a week ?
Calendar issue ...
Possble Calendar bug with daylight saving time
one click calendar
Please help!
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:40:52.