DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
c# convert datetime to unix timestamp
Int32 unixTimestamp = (Int32)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#convert
#datetime
#unix
#timestamp
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit