Last active
December 12, 2015 08:49
-
-
Save yetanotherchris/4746646 to your computer and use it in GitHub Desktop.
Unique identifiers: ticks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string TicksToString() | |
{ | |
long ticks = DateTime.Now.Ticks; | |
return string.Format("{0:X}", ticks).ToLower(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment