Date Items
Alain Djemaa
alain.djemaa at wanadoo.fr
Thu Apr 8 10:37:37 EDT 2004
Bonjour tout le monde.
(Hello, everybody and not "Hello, World" !)
I'm beginning to learn Transcript.
I'm not computer scientist but a needing tools amateur.
So, I try like a child.
Recently, I tried date format, like this, in the message box :
get the internet date
put it into laDate
convert it to dateItems
put "LA DATE" && laDate && "LES ITEMS" && it
The results :
LA DATE Thu, 8 Apr 2004 16:24:34 +0100 LES ITEMS 2004,4,8,17,24,34,5
Let's compare :
16:24 and ...,17,24,...
So, it's possible to correct by subtracting 1 for obtaining the true item,
but it's not very elegant, is it ?
Have I to set a parameter before using dates ?
Merci beaucoup.
Alain.
More information about the use-livecode
mailing list