Your technology certification is waiting. Enroll in Cloud Class ®
Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.
Value to add was out of range.
Parameter name: value
Open in new window
Private Function ConvertFromUnixTimestamp(ByVal timestamp As Double) As DateTime
Dim origin As New DateTime(1970, 1, 1, 0, 0, 0, _
Public Function ConvertUnixTimeStamp(ByVal unixTimeStamp As String) As System.Nullable(Of DateTime)
Return New DateTime(1970, 1, 1, 0, 0, 0).AddMilliseconds(Convert.ToDouble(unixTimeStamp))
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.