Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 2.6

COLUMN

Better Dating

Issue: 2.6 (July/August 2004)
Author: Charles Yeomans
Author Bio: Charles Yeomans pontificates on REALbasic from Lexington, Kentucky
Article Description: No description available.
Article Length (in bytes): 5,554
Starting Page Number: 33
Article Number: 2617
Related Link(s): None

Excerpt of article text...

Why doesn't setting FolderItem.ModificationDate.TotalSeconds change the modification date of a FolderItem? More importantly, why shouldn't it?

The answer to the first question is simple enough; FolderItem.ModificationDate is not returning the same Date object that it might be holding internally. To answer the second question, let's suppose that it did. This would mean that any other object could call FolderItem.ModificationDate to get that Date reference, and then pass it around the program. Later on, some other object might modify that Date object, unintentionally changing the modification date of the FolderItem.

...End of Excerpt. Please purchase the magazine to read the full article.