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
Alain Djemaa [EMAIL PROTECTED] wrote:
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
How can I get the good answer !
Salut Yves!
Create the dateItem string yourself from the birth date:
get birthYearcommabirthMonthcommabirthDay,0,0,0,0
Assuming birthYear includes the century, that's it.
If you need the correct day of week in item seven,
convert it to dateItems
At 8:43 AM -0700 10/12/2002, Yves Coppé wrote:
set useSystemDate to true
put 05/06/1927 into startDate
convert startDate to dateitems
set useSystemDate to false
answer startDate
the answer is 2027,06,05,0,0,7
I watch 1927,06,05,0,0,7
so the person with this birthdate is 100 years younger (not
Yves,
Check out the centuryCutoff property... perhaps that will do what you
want.
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
A command I didn't know and which does exactly what I hoped.
Thanks.
--
Greetings.
Yves COPPE
Email : [EMAIL