The Sql::GetInsertId() call always gives an integer value of 0 if the key is a Date.
Report message to a moderator