quite a bit, too much to summarize here

This commit is contained in:
random() 2025-04-29 11:52:21 -06:00
parent 24845b6b52
commit 5f22d25559
336 changed files with 171740 additions and 351 deletions

View file

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace JellyfinRPC
{
class Utils
{
public static long DateTimeInUnix(DateTime dateTime)
{
long unixTimestamp = dateTime.Ticks - new DateTime(1970, 1, 1).Ticks;
unixTimestamp /= TimeSpan.TicksPerSecond;
return unixTimestamp;
}
}
}