{Modify} removed old link link
Seconds from January 1, 1970 = unix time
To get this in VB.NET, see the example below (in the example using DateTime.UtcNow, but you can connect any DateTime that you want there)
Dim uTime As Integer
uTime = (DateTime.UtcNow - New DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds
source
share