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#
Reviewed by Leo
on
September 29, 2022
Rating:
Tidak ada komentar