im using a line of code i was giving. its suppost to get the local time and assign it to a scalar which is then added to a database. the problem is that the time returned 1970-01-01 00:00:00, which i think is the default, and im not sure what im doing wrong.
$time = HTTP::Date::time2iso(localtime(time()));
thanks
Pedge
$time = HTTP::Date::time2iso(localtime(time()));
thanks
Pedge