I am running the following test in my html_record_form:
if ($rec{'DateMod'}) {
$rec{'DateMod'} = &get_date;
};
Any ideas why this is returning 31-Dec-1969?
Near as I can tell everything is right and the system clock on the server is right. This is the only place in all my forms where this is occurring. The default fields are populating with the correct date when adding a record so this only comes up when I modify.
Thanks
joeh
if ($rec{'DateMod'}) {
$rec{'DateMod'} = &get_date;
};
Any ideas why this is returning 31-Dec-1969?
Near as I can tell everything is right and the system clock on the server is right. This is the only place in all my forms where this is occurring. The default fields are populating with the correct date when adding a record so this only comes up when I modify.
Thanks
joeh