Re: Adding a leading zero
Re: Adding a leading zero
- Subject: Re: Adding a leading zero
- From: Michelle Steiner <email@hidden>
- Date: Wed, 4 Apr 2007 12:44:15 -0700
On Apr 4, 2007, at 12:24 PM, <email@hidden>
<email@hidden> wrote:
The result is Apr42007
If the result always shows the three-letter abbreviation for month
and the format is always as you show it, this will do it:
set the_Date to "Apr42007"
if length of the_Date is 8 then
set the_Date to text 1 through 3 of the_Date & "0" & text 4 through
end of the_Date
end if
--
The Constitution is no ceiling of liberties. It is a floor of freedoms.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden