a little thing for inserting datestamps into a db