Working with Dates and Times
Issue: 7.2 (January/February 2009)
Author: Marc Zeedar editor-at-rbdeveloper.com
Article Description: No description available.
Article Length (in bytes): 13,542
Starting Page Number: 42
RBD Number: 7212
7212.zip Updated: Friday, January 2, 2009 at 12:27 PM
Related Web Link(s):
Known Limitations: None
Excerpt of article text...
Many years ago I had an idea for a scheduling application. When I began mentally working out the details, however, I was overwhelmed by the complexity of what seemed so simple. Working with dates and times is not as easy as it sounds. Remember all the date chaos associated with the transition to the year 2000?
I never wrote that scheduling app (it's still on my idea plate, so who knows), but I find it interesting that so many other apps I've written have involved dates and times and some of the issues I found too complex in that schedule app. For example, I have a "simple" blogging app I originally wrote in 1999 and have updated over the years (and still use for maintaining my personal website). I never thought about a blogging app as being particularly date/time related, but of course, it is: blog posts must be sorted in chronological order, different date display formats can be used in different parts of the program, and so on.
REALbasic's date class is a powerful class for working with dates and times. However, those new to REALbasic often expect it to do more than it can, or aren't sure, exactly, how to work with it. In today's lesson we'll explore working with dates and times in REALbasic.
...End of Excerpt. Please purchase the magazine to read the full article.
Article copyrighted by REALbasic Developer magazine. All rights reserved.