On 20/10/06 13:12, "W. Thomas Leroux" <[log in to unmask]> 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
tell (current date) to (it's year as text) & "-" & (it's month as integer) &
"-" & it's day & " " & it's time string
--
Barry