public static void Main()
DateTime now1 = DateTime.UtcNow;
DateTime expires1 = DateTime.UtcNow.AddHours(1);
Console.WriteLine("IsPasswordExpiring:" + (expires1.Subtract(now1).Days <= 10).ToString());
DateTime now2 = DateTime.UtcNow;
DateTime expires2 = DateTime.UtcNow.AddDays(11);
Console.WriteLine("IsPasswordExpiring:" + (expires2.Subtract(now2).Days <= 10).ToString());