Add support for setting datetime by string