improve datetime converter
Merge pull request #39 from Evaneos/improve-datetime-converter

improve datetime converter