You can spend time with Maruki by visiting him anytime after unlocking his Confidant on Monday-Friday, except for Thursday, after school. You can also spend time with him on rainy days and nights.