New date stuff: am I doing something wrong?
Mark Smith
mark at maseurope.net
Fri May 18 05:10:15 EDT 2007
David, are you sure you've understood what "english" denotes in
Revolution?
From the docs:
english
Used with the date and time functions to specify a date or time in
the format used in the United States.
So "20/4/02" is not an english date....
Best,
Mark
On 18 May 2007, at 09:17, David Bovill wrote:
> I have been testing/working with the new date fixes in 2.8.1 and
> have a
> problem with english dates - which I cannot convert properly:
>
> put "20/4/02" into testDate
> -- convert testDate from english date to dateItems
> convert testDate from short english date to dateItems
> put testDate
>
> put "20/4/02" into testDate
> -- convert testDate from system date to dateItems
> convert testDate from short english date to dateItems
> put testDate
>
> put "6/4/02" into testDate
> -- convert testDate from english date to dateItems
> convert testDate from short english date to dateItems
> put testDate
>
> put "6/4/02" into testDate
> convert testDate from english date to seconds
> convert testDate to dateItems
> put testDate
> break
>
> Is this a bug I should file? Either way how can convert the english
> dates
> back - do I have to manually change the order of the items myself in a
> script?
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list