Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. protected string getTimestamp()
  2. {
  3. string res = string.Empty;
  4. uint timestamp = (uint)(DateTime.UtcNow - new DateTime(1970,1,1,0,0,0, DateTimeKind.Utc)).TotalSeconds;
  5. res = timestamp.ToString();
  6. return res;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement