Re: Date trouble
Re: Date trouble
- Subject: Re: Date trouble
- From: Wayne Melrose <email@hidden>
- Date: Fri, 20 Oct 2006 14:16:46 +0200
I have a dodgy work around for that, although I'm sure someone can
show us a better way..
set d to current date
set d_d to day of d
set d_m to month of d
set d_y to year of d
etc.....
then make a string of each part.. like i said.. dodgy..
Can anyone show us the correct way?
Wayne
On 20. okt. 2006, at 14.12, W. Thomas Leroux wrote:
Hey all, I'm having what I think is a simple problem, but I can't seem
to find a solution.
Currently:
set current_time to ((current date) as string)
Generates:
"Friday, October 20, 2006 8:03:57"
What I would like to get is "2006-10-20 08:03:57", can some kind soul
point me in the correct direction? Thanks.
Thomas
--
All about me!
http://www.leroux.ca
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (AppleScript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Date trouble (From: "W. Thomas Leroux" <email@hidden>) |