Added comments about options of Date type

and fixed the build