Selisih Date C#

 using System;

public class Program

{

public static void Main()

{

var expiryDate = DateTime.Now.AddHours(5);

var sel = expiryDate - DateTime.Now;

var selH = (int)sel.TotalDays;

Console.WriteLine(selH);

}

}

Selisih Date C# Selisih Date C# Reviewed by Leo on September 29, 2022 Rating: 5

Tidak ada komentar

About me

About Me

My name is Joanne Doe, a lifestyle photographer and blogger currently living in Osaka, Japan. I write my thoughts and travel stories inside this blog.