<p dir="ltr">The code posted in my original message, minus the $ticket->Create call, generates debug output showing the problem independent of ticket creation.  In that message I've highlighted the  discrepancies in that debug output in red.  Your comments on that specific output would be greatly appreciated.</p>

<p dir="ltr">I don't believe that the date/time configuration options are relevant, because I'm explicitly specifying "11am Wednesday" in an RT::Date->Set call and getting an epoch for "11am Tuesday."  My timezone is not offset from GMT by 24 hours.</p>

<p dir="ltr">I want to be able to enter freeform text and have it interpreted relative to the RT-configured timezone, hence my use of RT::Date.</p>
<div class="gmail_quote">On 19/06/2014 5:38 am, "Kevin Falcone" <<a href="mailto:falcone@bestpractical.com">falcone@bestpractical.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, Jun 18, 2014 at 10:53:11AM +1000, Alex Peters wrote:<br>
> That was just a transcribing error on my part.  I call a method on the RT::Date<br>
> object to get the date out in the expected format; a later message in this<br>
> thread shows the corrected code.<br>
><br>
> At any rate, the debug output is indicating a problem even before that point.<br>
<br>
If you have a reduced sample that doesn't require Ticket->Create to<br>
expose, show that, probably with some debugging output so it can be<br>
run locally.  Additionally, you may want to look into the config,<br>
there are relevant parsing options around 'Wednesday'.<br>
<a href="http://bestpractical.com/docs/rt/latest/RT_Config.html#Date-and-time-handling" target="_blank">http://bestpractical.com/docs/rt/latest/RT_Config.html#Date-and-time-handling</a><br>
<br>
In addition, keep in mind the timezone of the user used to create the<br>
date object and how that plays into this.<br>
<br>
And remember, RT in no way requires you to use an RT::Date to<br>
calculate Wednesday at 11am.  This is perl, there are about 50 ways to<br>
do it.<br>
<br>
-kevin<br>
<br>--<br>
RT Training - Boston, September 9-10<br>
<a href="http://bestpractical.com/training" target="_blank">http://bestpractical.com/training</a><br></blockquote></div>