Fixed problem with rising date