Moved createdDay to lib