diff --git a/Saviour Backup System/tools.cs b/Saviour Backup System/tools.cs index 875c7f2..e2b63ea 100644 --- a/Saviour Backup System/tools.cs +++ b/Saviour Backup System/tools.cs @@ -33,5 +33,6 @@ namespace Saviour_Backup_System } return sb.ToString(); } + public static Int64 getUnixTimeStamp() { return (Int64)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds; } } }