we are working on callcenter monitoring project in ASp.net2.0.we have time in thsi format:1184623297.we want to extract date and time from thsi string.which function of date time used for it.if anybody know solve our problems?
It looks to me like this is actually the number of seconds since 1/1/1970. I've used this method before. If I'm correct then you could convert this to a regular DateTime by calling this.
DateTime dt = new DateTime(1970, 1, 1).AddSeconds(<valuehere>);
snyha
0 Points
2 Posts
if anybody know help me
Feb 10, 2008 04:56 PM|LINK
we are working on callcenter monitoring project in ASp.net2.0.we have time in thsi format:1184623297.we want to extract date and time from thsi string.which function of date time used for it.if anybody know solve our problems?
DotNetAdviso...
Contributor
4576 Points
869 Posts
Re: if anybody know help me
Feb 11, 2008 02:22 AM|LINK
It looks to me like this is actually the number of seconds since 1/1/1970. I've used this method before. If I'm correct then you could convert this to a regular DateTime by calling this.
DateTime dt = new DateTime(1970, 1, 1).AddSeconds(<valuehere>);
www.dotnetadvisor.com
snyha
0 Points
2 Posts
Re: if anybody know help me
Feb 14, 2008 11:24 AM|LINK