# C# .NET - C# - How to convert fractional years (say 1.25 years) to number of days

*Asked By ***basam nath** on 13-Feb-13 02:25 PM

I have a table that shows periods like 1 year to 10 years. I want to calculate number of days (approximately 365 days in a year and no need to include leap year) for each period. If it was just years, it is easy to calculate days ( like 2 years = 2*365 days). But how can convert for 1.5 years or 1.75 years into days?

what is the efficient way to calculate days if the years are specified in terms of fractional years.