SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: need idea :)

  1. #1
    SitePoint Evangelist Jedi007's Avatar
    Join Date
    Aug 2005
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    need idea :)

    Hello everyone, I'm trying to make a little javascript program that tells you the courses you have in a day. My school works in 2 week cycles (monday1-friday2). What do you think is the most efficient way to get the value of the day in 2 week cycles?

    Today would be thursday1, and a week later would be thursday 2.

    Thanks

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,188
    Mentioned
    191 Post(s)
    Tagged
    2 Thread(s)

    Calendar

    Depending on how involved you needed this to be, AFAIK there is code out there that can handle scheduling, no need to write your own.
    If you're doing this for the fun of the learning experience, I would use days of the Semester. Sure, the semester is on top of another calendar system, but that's what you're really dealing with, a Semester cycle.
    Don't know what you'ld do about any "quirks" like half-weeks or Holidays etc. But I'm confident you could put together something interesting.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •