Added DATETIME support, implemented various DATE/DATETIME functions, plus a minor bugfix on string2date converter