SyntaxFix
Write A Post
Hire A Developer
Questions
public long millis() { return (long.MaxValue + DateTime.Now.ToBinary()) / 10000; }
If you want microseconds, just change 10000 to 10, and if you want the 10th of micro, delete / 10000.
10000
10
/ 10000