It is easy to put '&getdate' in the config file to have the date automatically filled out when a new record is created. Now it is possible to have the date UPDATED when a record is updated ?
Jan 26, 1999, 2:22 AM
Novice (24 posts)
Jan 26, 1999, 2:22 AM
Post #2 of 5
Views: 2788
This can easily be accomplished by modifying the sub modify_record routine in the db.cgi file by including the following line.
It should work if you put this line just before:
which currently appears in the modify_record subroutine.
For more information on the subject read the thread on auto-incrementing dates!
Lauren
Code:
$in{'Date'} = &getdate;It should work if you put this line just before:
Code:
$output .= &join_encode(%in);which currently appears in the modify_record subroutine.
For more information on the subject read the thread on auto-incrementing dates!
Lauren