I have a SQL-server timestamp that I need to convert into a representation of time in milliseconds since 1970. Can I do this with plain SQL? If not, I\'ve extracted it into
There are ToUnixTime() and ToUnixTimeMs() methods in DateTimeExtensions class
ToUnixTime()
ToUnixTimeMs()
DateTime.UtcNow.ToUnixTimeMs()