# Localtime(time) problem

I want to insert the current date and time into the Starts field on
Ticket Creation. I figured I could do this with localtime(time). This
works in a normal perl script. But when I try to include it in the
Create.html like so:
Starts:

I get this out:
2481016410351351

Wed Dec 31 15:59:59 1969

/************************************************************

I want to insert the current date and time into the Starts field on
Ticket Creation. I figured I could do this with localtime(time). This
works in a normal perl script. But when I try to include it in the
Create.html like so:
Starts:

try <%scalar localtime()%>
http://www.bestpractical.com/rt – Trouble Ticketing. Free.