Int field used instead of datetime