initializes times in create page