Timestamp is a general term; you seem to be interested in a Unix time value. If so, use something like this:
new System.DateTimeOffset(dateTime).ToUnixTimeSeconds()
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.