Calculate days between two date

Hi SS team,
Can anyone please provide me the code for calculating days between interview date and a date of birth(if don’t know the DOB than 98.98.9998 codes are there).

Remember i need the output in days.

Please help me to resolve this.

Thanks
Ridhima

Hello Ridhima,

to calculate the number of days between two dates, use the TotalDays() function, described “here”:https://msdn.microsoft.com/en-us/library/system.timespan.totaldays(v=vs.110).aspx

Best, Sergiy Radyakin

Hello Ridhima,

can you please explain what does “not working” mean?

Thank you, Sergiy