month of current date

Michel-D michel.discors at wanadoo.fr
Tue Jan 1 02:26:22 PST 2008


Hi Guys,
can you tell me why I obtain a "Bad".   My script is:

set the_month to (text of xLabel "label1" in xView "XX") as string -- 
the text in this label1 is January

if month of (current date) = the_month and day of (current date) < 6  
then
write log "Cool"
else
write log "Bad"
end if


I tried as string, as text, as number. No result
Please help me!!
Michel




More information about the XTensionlist mailing list