Forgive my ignorance but, I'm not seeing how to compare them to what I see in 
RT.

Elements 0-5 and 8 from localtime(str2time($ticket->Created):
54 3 18 28 10 107 0

What the Created field for the ticket I'm looking at says:
Wed Nov 28 13:03:54 2007

Elements 0-5 and 8 from localtime(time());
52 47 14 28 10 107 0

Keep up with me and what I'm up to: http://theillien.blogspot.com


Gene LeDuc wrote:
> Hi Mathew,
> 
> Start by printing out the applicable elements ([0] - [5] and [8]) from
> localtime(str2time($ticket->Created)) and comparing them to what you see
> in RT, then print the same elements from localtime(time) and see what
> you get.  If it's a timezone or DST issue you can compensate for it. 
> Once you get time values you can trust you work on the next issue.
> 
> Gene
>
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:

If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch 
today. 
    Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.


Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to