View Single Post
Old 06-25-2011, 05:50 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Note that with 0.8.7, it is possible to color a column based on the difference between two dates. Assume your column is called #mydate. The following advanced coloring rule will return the color red if #mydate is within 5 days of today.
Code:
program: 
  t=days_between(field('#mydate'), today());
  test(t, cmp(t, 5, 'red', '', ''), '')
Go to preferences/look and feel/coloring to create the advanced coloring rule.
chaley is offline   Reply With Quote