Time is circular

It’s the end of the year 2009. There’s also something you should know. I’m not affected much by holidays, as in I don’t do anything special on or for them. To me, they’re like another Sunday. The days pretty much blur into each other.

Time is circular. Seasons change, things change, people change, stuff happens, but time goes on. In fact, we humans can’t comprehend how time continues to go on and on (except for the movie Titanic, but that’s another story…) that we have to break it up. Like years, and months, and days.

Time is circular. In fact, the very notion of time itself is questionable. Sure the sun rises at dawn, and sets at dusk. You think the sun cares that you designated a time called “dawn” and “dusk” for it to rise and set? The sun just happened. It just spun all 9 (sorry Pluto) 8 planets around it, while orbiting another larger source of gravity. What does time mean?

Time is circular. In fact, if you think about it, space and time are the same. If you walked from one spot to another, how far did you cover? What if I asked you how long you took? Is it the same? What if you didn’t move, and just sat there for an hour? It just meant it took you one hour to move zero metres.

Time is, perhaps, an illusion.

I started out with the goal of thanking you for reading my blog, for tolerating some of my inane writings, for finding something useful out of others. Then my mind wandered, and I wrote something philosophical, and very likely another one of those inane writings I mentioned. Let me get back on track.

It’s been about 2 and half years since I started writing. Perhaps you found a programming article useful. Perhaps you found a funny article. Perhaps you corrected me on a blatant mistake. Perhaps you’re too shy to voice your opinions (I know, I’m psychic, remember?).

I thank you.

Yes, even you, the mutant genius squirrel who’s living in some forest plotting world domination. Wait… what am I talking about…

My goals for 2010 are:

  • Create a small business selling game/RPG products at Honeybeech
  • Get better at math
  • Get better at programming
  • Get better at writing
  • Make people laugh (in a good way)
  • Tell better stories
  • World domination

Since time is circular, there’s no real point in setting goals just for the new year. You should be doing that all the time, and readjusting as needed anyway. But hey, I need to change my calendar, so it’s a good time as any.

What are your goals?

And this has been brought to you by the entirely self-serving advertisement of the Math Wizard, possibly the smartest RPG character you’ll ever play.

Remember to change the year too

There were occasions when I was to increment or decrement some date value by one month. For example, “200806” to “200807”.

No, I don’t have any disaster-insider-programmer stories to share. Although there was this fellow who forgot to change the year which resulted in a financial fiasco…

Anyway, this is more like a reminder to myself. Take care when January and December are involved. Change the year when going from say “200812” to “200901”, and also “200801” to “200712”.

If you’re bouncing from one date to another by multiple months, you could try storing the year and the month into one variable holding total months. So “200806” becomes 2008 * 12 + 6 = 24102 months. Moving 15 months ahead, we have 24117 months, which is 2009 * 12 + 9. So it’s “200909” finally.

Of course, if your standard code libraries have an inbuilt function, just use that. For .NET, it’s

DateTime.Now.AddMonths(15).ToString("yyyyMM");

Here’s something to think about: Using the algorithm above, what year and month is 24120 months?

Have a fantastic year ahead!