Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

Evaluate date-time field value for today's date

$
0
0
I want to change the row color based upon the field's date-time value for today's date. So the background color might be yellow, for example, if the DT is today's date. I know how to set the color, but not how to evaluate the date-time in PHP/Runner.

e.g. I do this now for another condition in the List's After Record Processed event:

IF ($data["End_Time"] == "") {
 $record["css"]="background:#d2ecf4;";
} 

Viewing all articles
Browse latest Browse all 2586

Trending Articles