Solved Day of the Week

Discussion in 'Plugin Development' started by Kirbyarm, Oct 15, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    Kirbyarm

    Hello everyone,

    I'd like to request help on how I can get a return for the day of the week, in as simple of code as possible.

    I've played around with the Calendar class but I can only get it to return everything except what I actually need, which is the day of the week. Monday through Sunday. That is all that is needed.

    I'm okay if it needs to be converted from an integer or what have you, but I'm hoping for a simple alternative to having to hand-code a full year or two's calendar based on the timestamps that don't include day of the week. I've seen an enum somewhere for DAY_OF_WEEK but have not had much success.

    Any help or step in the right direction would be greatly appreciated. Code example would be most simple as I've done quite a bit of experimenting for this already. Thanks in advance, guys! =)
     
  2. Offline

    thecrystalflame

  3. Offline

    Kirbyarm

    Currently testing a suggested way. Just my luck, it is now 12:02 AM haha.. Thank you for the link.
     
Thread Status:
Not open for further replies.

Share This Page