added function for getting unix time stamp (in 64 bit int so no 2038 rubbish!)
This commit is contained in:
parent
bd06cf5bd0
commit
1ff94ff668
1 changed files with 1 additions and 0 deletions
|
@ -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; }
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue