An update cursor in Python would be much easier to format this, but if you wanted to do it in the field calculator, the Python formatted code would look like this ugly thing here:gp.CalculateField_management(myFC, "Start_time", "returnvalue(!Period_Sta!)", "PYTHON", "def returnvalue(periodStaFieldValue):\\n if periodStaFieldValue == '01/01':\\n return '1'\\n elif periodStaFieldValue == "01/04":\\n return '91'\\n elif periodStaFieldValue == "30/09":\\n return '273' \\n elif periodStaFieldValue == "31/12":\\n return '365'")
or in an update cursor...updateRows = arcpy.UpdateCursor(myFC)
for updateRow in updateRows:
if updateRow.Period_Sta == '01/01':
updateRow.Start_time = '1'
elif updateRow.Period_Sta == '01/04':
updateRow.Start_time = '91'
elif updateRow.Period_Sta == '30/09':
updateRow.Start_time = '273'
elif updateRow.Period_Sta == '31/12':
updateRow.Start_time = '365'
updateRows.updateRow(updateRow)
del updateRow, updateRows