You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
332 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace BuildScript
  5. {
  6. public partial class BuildScript
  7. {
  8. public string CreateStamp()
  9. {
  10. var seconds = (long)(DateTime.UtcNow - new DateTime(2017, 1, 1)).TotalSeconds;
  11. return seconds.ToString();
  12. }
  13. }
  14. }