You might also want to try logging your `created` ...
# suitescript
a
You might also want to try logging your
created
variable to see what's stored there. If getValue returns something that
Date
can't parse, you'll just get the string
Invalid Date
which clearly won't go into a Date field.