Java Util Date Java Sql Datetime Functions In C