The script in this thread was helpful, but some of the modification dates for my notes were not right after I imported them. I think there is a bug in the script. The line that says
set the modification date of myNote to myCreateDate
should say
set the modification date of myNote to myModDate
instead.