|
-
Aug 1st, 2002, 07:58 AM
#1
Thread Starter
Hyperactive Member
**RESOLVED thanks tr0n** Date/time: seconds since 1970
Yuck!
Some data we get from Solaris systems has time stamps as seconds since 1970 (I think... I need to check the specifics!) I need to convert these to the actual date and time.
Thus 1 028 135 754 seconds is 31 July 2002, at 17:15:54
If it wasn't for the fact that months have different numbers of days, not to mention leap years, this would be a straight forward bit of arithmetic. But of course it's not that simple...
Anyone done this or anything similar before. All ideas welcome.
Last edited by Jim Brown; Aug 1st, 2002 at 08:18 AM.
.
-
Aug 1st, 2002, 08:05 AM
#2
Fanatic Member
VB Code:
dateadd("s","1028135754","01/01/1970")
-
Aug 1st, 2002, 08:16 AM
#3
Thread Starter
Hyperactive Member
Deletes thread in embarrasment hoping noone will laugh at me missing something quite that simple....
-
Aug 1st, 2002, 08:24 AM
#4
Fanatic Member
teehee
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|