storing 24hr string to sql server

Joined
Jan 21, 2008
Messages
1
Reaction score
0
Hi guys, i have a little problem getting a 24hr format time into the server as datetime, is there any tips on getting it into the sql database?

for example i have to grab from a textfile, 0800 as time in and 1700 as time out and store them into the table. in the textfile i also have the date of the time in time out which belongs to the same day.

the format of the textfile is in
date|timein|timeout

i was able to retrieve the individual values, i just need to find out how to store them in sql server. thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,115
Messages
2,570,698
Members
47,273
Latest member
mikkamuertio

Latest Threads

Top