Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have a datetime field in an Access database.

I am unable to save the current time (Timeofday).

The time is always saved as 0:00 in the database.

I add a watch to timeofday, and it is actually containing the current time.

The problem is when I save..no error but no time saved ( all my other fields are saved correctly, including date )

Anybody heard about this one ?

 

thx

What I don't know keeps me excited...
  • *Experts*
Posted

What code are you using to perform your save? Are you building up a SQL String where you do something like "Date.ToString(...)" which might be cutting off the time portion when converting to a string?

 

-nerseus

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...