Categories > TinyButStrong general >

Alternate cellcolor after date compare

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Michel
Date: 2006-05-03
Time: 13:23

Alternate cellcolor after date compare

Hi to all,

I want to compare a datefield from the database with the actual date. If the datefield is less then actual date the cellcolor should be red (<td bgcolor='red'>field 1...) otherwise nothing happens (<td>field 1...

How to realise it? Should be simple, but I could not find any similar example in the manual,forum,faq...
By: TomH
Date: 2006-05-03
Time: 14:20

Re: Alternate cellcolor after date compare

See the example "Event Functions" in the "Examples" section. HTH