[rt-users] localtime(time) problem

Jesse Vincent jesse at bestpractical.com
Fri May 16 13:17:23 EDT 2003



On Fri, May 16, 2003 at 10:14:18AM -0700, Ron Alexander wrote:
> 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:</TD><TD><input size=10 name="Starts" value="<%
> localtime(time)%>" >

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



More information about the rt-users mailing list