Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FollowUp on DTS DateTime Question

Status
Not open for further replies.

EITech

Programmer
Oct 15, 2000
13
0
0
US
Thanks, fluteplr and tlbroadbent, for your responses to my earlier post. I have a bit more information and am hoping you can keep me going.
The field looks like this:
}sÓ
when it is imported from the H-P. From the vendor technical info, I see it is a 6-byte field mapped to different portions of the date & time in different positions. For example
(0:12) Year (0 . . 4095)
(12:4) First 4 bits of Julian date
I didn't have any luck with CDate or FormatDateTime (tried CStr too, while I was at it). The table imports OK, without an error, but the timestamp field still looks like the example above. I'm not finding anything in SQL Server help on these functions. Any further ideas? Thanks a lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top