from datetime import date def d(s): [month, day, year] = map(int, s.split('/')) return date(year, month, day) def days(start, end): return (d(end) - d(start)).days print days('8/18/2008', '9/26/2008') This assumes, of course, that you've already verified that your dates are in the format r'\d+/\d+/\d+'.
A Structural Engineer in Dubai earns an average salary of AED 159,602 per year. Experience strongly influences pay for this job. People in this job generally don't have more than 20 years' experience.AED 42,383 - AED 347,316. Total Pay combines base annual salary or hourly wage, bonuses, profit sharing, tips, commissions, overtime pay and other forms of cash earnings, as applicable for this job. It does not include equity (stock) compensation, cash value of retirement benefits, or the value of other non-cash benefits (e.g. healthcare).
Materials Engineer Salaries. Materials engineer salary range for the middle 50% is between $54,620 and $88,790. Materials engineer salaries for the lowest 10% are less than $42,460.Materials engineer salaries for the highest 10% are more than $107,650.Materials engineer starting salary for BS graudates averages $55,640. New MS graduates have an average starting salary of $61,170: and new PhDs have an average starting salary of $79,860.PhD and MS degrees have been in stronger demand since 2005, and this trend is expected to continue through 2015.aterials Engineer Salaries. Materials engineer salary range for the middle 50% is between $54,620 and $88,790. Materials engineer salaries for the lowest 10% are less than $42,460.