adjusted day code