• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Clearing Dates in Entourage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Clearing Dates in Entourage (From: Todd Geist <email@hidden>)

  • Prev by Date: RE: TechNote 2106
  • Next by Date: Re: TechNote 2106
  • Previous by thread: Clearing Dates in Entourage
  • Next by thread: Re: Clearing Dates in Entourage
  • Index(es):
    • Date
    • Thread