470,815 Members | 1,290 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,815 developers. It's quick & easy.

Date Time Conversion

Hi all.

I have a number the is the number of seconds from 1/1/1970. Is there a
function in VB that will convert it to some thing more readable? some ting
similar to time_t in c++

Thanks

Dan...
Jul 17 '05 #1
2 4521
> I have a number the is the number of seconds from 1/1/1970. Is there a
function in VB that will convert it to some thing more readable? some ting
similar to time_t in c++


Use the DateAdd function to convert the number of seconds to a date.

Rick - MVP
Jul 17 '05 #2
Thanks,
Rick. It work Perfectly.
Dan...

"Rick Rothstein" <ri************@NOSPAMcomcast.net> wrote in message
news:FZ********************@comcast.com...
I have a number the is the number of seconds from 1/1/1970. Is there a
function in VB that will convert it to some thing more readable? some ting similar to time_t in c++


Use the DateAdd function to convert the number of seconds to a date.

Rick - MVP

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by praba kar | last post: by
1 post views Thread by Riley DeWiley | last post: by
4 posts views Thread by Bob Day | last post: by
26 posts views Thread by jshanman | last post: by
2 posts views Thread by Bob Altman | last post: by
2 posts views Thread by RN1 | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.