• 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: Date Help - D&T stamp w Short dates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date Help - D&T stamp w Short dates


  • Subject: Re: Date Help - D&T stamp w Short dates
  • From: "Domains4Days.com" <email@hidden>
  • Date: Tue, 07 Jan 2003 13:50:18 -0800

Maybe this is a Jaguar 10.2.3 issue?


I typed this script below into a blank AppleScript... It produced an error
that said: script doesn't understand the DateToString message.

set d to date "Monday, December 9, 2002 08-04-28 PM"

set test to DateToString("mm", d) --> "12"

activate --> before working with the clipboard

set the clipboard to test


----------------



On 01-07-03 12-42 PM, "Arthur J. Knapp" <email@hidden> wrote:

> You are attempting to set the clipboard to variable "d", where as I
> assume you want to set it to the value returned from the DateToString()
> handler, the variable "test":
>
> set d to date "Monday, December 9, 2002 08-04-28 PM"
>
> set test to DateToString("mm", d) --> "12"
>
> activate --> before working with the clipboard
>
> set the clipboard to test

--
RevDave
email@hidden
[db-lists]

Check out some great Domain Names at:
http://www.domains4days.com
_______________________________________________
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: 
 >Re: Date Help - D&T stamp w Short dates (From: "Arthur J. Knapp" <email@hidden>)

  • Prev by Date: Re: Keynote, is it scriptable?
  • Next by Date: Re: Quark 5 can't copy selection w/styles
  • Previous by thread: Re: Date Help - D&T stamp w Short dates
  • Next by thread: Re: Date Help - D&T stamp w Short dates
  • Index(es):
    • Date
    • Thread