Fixing Day order and syntax bug