<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;
padding:0in 0in 1.0pt 0in'>
<p class=MsoNormal style='border:none;padding:0in'>Hi Darren, list,<o:p></o:p></p>
<p class=MsoNormal style='border:none;padding:0in'><o:p> </o:p></p>
<p class=MsoNormal style='border:none;padding:0in'>6 months later… have
you found a solution to this problem?<o:p></o:p></p>
<p class=MsoNormal style='border:none;padding:0in'>I too would like to have a
saved search that filters by current date (or current week, or some other date
range relative to today).<o:p></o:p></p>
<p class=MsoNormal style='border:none;padding:0in'>It seems there's no such
code in pure RT.<o:p></o:p></p>
<p class=MsoNormal style='border:none;padding:0in'>Has anyone developed it for
his own RT?<o:p></o:p></p>
<p class=MsoNormal style='border:none;padding:0in'><o:p> </o:p></p>
<p class=MsoNormal style='border:none;padding:0in'>Thanks in advance,<o:p></o:p></p>
<p class=MsoNormal style='border:none;padding:0in'><o:p> </o:p></p>
<p class=MsoNormal style='border:none;padding:0in'>Eynat<o:p></o:p></p>
<p class=MsoNormal style='border:none;padding:0in'><span lang=HE dir=RTL
style='font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Darren Ellis [darren@mepad.net]<br>
<b>Sent:</b> Aug 11, 2007, 4:54 AM<br>
<b>To:</b> rt-users@lists.bestpractical.com<br>
<b>Subject:</b> Search Custom Field for Today's Date<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:black'>Hi All, <br>
<br>
I am using RT 3.6.4 on CentOS 5.0. Everything stock seems to be <br>
working fine. <br>
<br>
I've defined a few custom fields, one of which I am using as an <br>
appointment date field. I would like to create a saved search called <br>
"Today's Assignments" that automatically searches the date field for <br>
today's date and returns matches. <br>
<br>
Googling led me to articles that implied that you could use "TODAY" <br>
or "today" as a search criterion. As yet I am unable to successfully <br>
make this search work. <br>
<br>
I have tried the following date formats in the field: <br>
<br>
YYYYMMDD (20070811) <br>
MM/DD/YYYY (8/11/2007) <br>
<br>
My search criterion line is: <br>
AND 'CF.{Appt. Date} = 'today' <br>
<br>
<br>
I have also tried: <br>
AND 'CF.{Appt. Date} = 'TODAY' <br>
<br>
I looked through my copy of RT Essentials and didn't find the <br>
information I needed there either. <br>
<br>
Can anyone help? <br>
<br>
Thanks. <br>
<br>
Darren</span><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>