Thread: OO Pro 4.0?
View Single Post
Quote:
Originally Posted by henri View Post
OK, I finally got it. Here it is:
Well don Henri. Another way to do it is to convert the date to a string. I do this to color my Today items to a particular style:

if theDuedate is not missing value then

set todays_date_string to date string of (current date)
set theDuedate_string to date string of (theDuedate)
if todays_date_string = theDuedate_string then

set myStyle to named style ("DueToday")
add myStyle to named styles of style of theRow
end if

end if