Re: Clearing Dates in Entourage
Re: Clearing Dates in Entourage
- Subject: Re: Clearing Dates in Entourage
- From: Graff <email@hidden>
- Date: Thu, 04 Mar 2004 20:45:55 -0500
What exactly are you trying to do? As far as I know there is no way to
set a date to null or empty. Even if a date is somehow set to 0, that
just means that it is the epoch date which I believe is 12:00:00 AM
1/1/1904.
If you are trying to set the date to null so that you can later see if
it was changed then I believe you can do something like this:
--------------
set theDate to anything
-- do something here that may or may not set theDate to a date
if theDate is equal to anything then
-- theDate was not set, handle this appropriately
else
-- theDate was set, handle this appropriately
end if
--------------
The "anything" constant is talked about here:
<
http://developer.apple.com/documentation/AppleScript/Conceptual/
AppleScriptLangGuide/AppleScript.45.html>
-Ken
On Mar 4, 2004, at 7:00 PM, Todd Geist wrote:
What's the trick for setting an Applescript date to null or empty.
I tried the following
set theDate to date("")
But that didn't work.
Can anybody help me out?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.