[rt-users] Created date for transaction

Kevin Falcone falcone at bestpractical.com
Tue Feb 8 16:09:41 EST 2011


On Thu, Feb 03, 2011 at 02:02:08PM +0100, Björn Schulz wrote:
> Hi,
> 
> We like to print the creation date of a transaction to a cf..
> 
> $TempDate = $TA->Created()
> 
> The result is, however, in GMT.
> How can I convert it to my local timezone?

$TA->CreatedObj is probably closer to what you want, and then you can
use RT::Date methods on it

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110208/d9a091ca/attachment.sig>


More information about the rt-users mailing list