|
||||||
| Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
How to only store time in visual basic and sql 2008
Hi everybody,
I wonder how can we store time only in SQL database through Visual Studio 2008? In Visual Studio 2008, when I use datetime, Visual Studio and SQL store the date and time together. However I only want to store time. Thanks for the help. Wendy |
|
||||
|
Re: How to only store time in visual basic and sql 2008
You can store the date portion as 12/31/1899. That allows you to ignore it in the application.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Programming is a branch of mathematics. My CodeCall Blog | My Personal Blog |
|
||||
|
Re: How to only store time in visual basic and sql 2008
VB should have a way to change the display format. Since I'm not a VB programmer, I can't offer much more than that.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Programming is a branch of mathematics. My CodeCall Blog | My Personal Blog |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Visual basic 2008 DB Oracle | foxbymariuss | Visual Basic Programming | 0 | 05-14-2009 07:05 AM |
| Basic Protection from SQL Injection | Affix | PHP Tutorials | 16 | 02-23-2009 05:16 AM |
| Visual Studio 2005 and Windows Vista | Jordan | General Programming | 14 | 01-10-2009 03:39 PM |
| very basic php and sql test | phpforfun | PHP Forum | 34 | 09-20-2008 05:22 PM |
| Executing SQL Server 2k DTS Package via Visual Basic | Joemama | Visual Basic Programming | 0 | 04-09-2007 07:21 PM |
All times are GMT -5. The time now is 09:27 AM.
Amrosama.cc
Arekbulski.cc
Debtboy.cc
Guest.cc
Jaan.cc
James.cc
Mathx.cc
Tsz.cc
Vswe.cc