Deals with an empty string as NULL and Supports ISO8601 format datetime

Please merge.
* It deals with an empty string as NULL.
* It supports ISO8601 format datetime.