Mike,
I normally use TimeSpan.FromSeconds (as Cor suggested):
Dim ts As TimeSpan = TimeSpan.FromSeconds(3600)
If you want it as a "Date" I normally add the TimeSpan to a "known"
DateTime.
Dim dt As DateTime = DateTime.MinValue.Add(ts)
Alternatively you can add the seconds to a "known" DateTime.
Dim ts As DateTime = DateTime.MinValue.AddSeconds(3600)
Hope this helps
Jay
"Mike" <Mi**@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
I'm getting my data from my database in seconds, 3600, how can i convert
that
to time such as 1:00 pm?