year month day counter implemented