mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
More restructuring
This commit is contained in:
7
src/Nadeko.Common/Extensions/Extensions.cs
Normal file
7
src/Nadeko.Common/Extensions/Extensions.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Nadeko.Common;
|
||||
|
||||
public static class Extensions
|
||||
{
|
||||
public static long ToTimestamp(this in DateTime value)
|
||||
=> (value.Ticks - 621355968000000000) / 10000000;
|
||||
}
|
Reference in New Issue
Block a user