DateTime data displaying

T

Thad

I am getting data from a SQL Server 7 table and binding it to a grid.
I have a field that is supposed to represent a date, and two fields
that are supposed to represent time.

When I look at the grid the date value is just the date (because I
guess I didn't enter a time, but just a date), but the time value only
displays the date and not the time, but when I look at that column in
the Admin it shows that data there with today's date (date I entered
the time value).

What am I missing here? I just want the time value to be displayed and
kept in the time column, and the date to be the only value in the date
column.

Do I have to do formatting commands on my Select statement to load the
data, and on my update and insert statements? I haven't tried that
yet, I'm hoping I don't have to, that seems excessive. I'm used to
just date, just time, or datetime. Anyway, thanks for any replies in
advance.

Thad
 

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

Top