private DateTime dtFunctionStart = DateTime.Now;

DateTime dtNow = DateTime.Now;

var diffInSeconds = Math.Abs((dtNow - dtFunctionStart).TotalSeconds);
Last modified: March 23, 2021

Author

Comments

Write a Reply or Comment