Re: constructing file name
Re: constructing file name
- Subject: Re: constructing file name
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 23 Feb 2004 09:51:16 -0800
It only works in Panther. In earlier versions you have to put al the month
names in a list and count which one it is you've got.
--
Paul Berkowitz
>
From: Mike Bautsch <email@hidden>
>
Date: Mon, 23 Feb 2004 07:14:52 -0500
>
To: Graff <email@hidden>
>
Cc: Applescript Users <email@hidden>
>
Subject: Re: constructing file name
>
>
I ran into an error on this:
>
>
"Can't make February into a integer"
>
>
>
On Monday, February 23, 2004, at 12:40 AM, Graff wrote:
>
>
> Just as easy, here is 1 day ahead:
>
> ------------
>
> set tomorrow to (current date) + 1 * days
>
> -- the next line formats the date into an integer with yyyymmdd format
>
> set dateInt to ((year of tomorrow) * 10000) + (((month of tomorrow) as
>
> integer) * 100) + (day of tomorrow)
>
> set remote_filename to "" & dateInt & "-da.csv"
>
> ------------
>
>
>
> - Ken
>
>
>
> On Feb 22, 2004, at 10:33 PM, Mike Bautsch wrote:
>
>
>
>> This is the type of thing I thought I would have to do. The only thing
>
>> I see wrong with this is the date is not fixed, it would have to be
>
>> the
>
>> current date of any given day plus 1 day. I made a mistake in my
>
>> original post, the final output should be "20040223-da.csv" one day
>
>> ahead of the current date.
>
> _______________________________________________
>
> 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.
>
_______________________________________________
>
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.
_______________________________________________
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.