jt463
IS-IT--Management
- Nov 23, 2005
- 134
I have the following code:
Everything has worked great until today. The code is pulling the current time, but it is not pulling the date.
To see whether or not the system time can even be seen within VB, I tried the following code:
That pulls back:
hh:mm:ss mm/dd/yyyy (current data)
I looked at my system time/date in 'Control Panel', and it shows there. I am wondering if it has something to do with Daylight Savings time. I am pulling at straws.
Any help would be greatly appreciated.
Code:
Dim datSQL, timSQL As Date
datSQL = Date
timSQL = Time
Everything has worked great until today. The code is pulling the current time, but it is not pulling the date.
To see whether or not the system time can even be seen within VB, I tried the following code:
Code:
Dim datSQL As Date
datSQL = Now()
That pulls back:
hh:mm:ss mm/dd/yyyy (current data)
I looked at my system time/date in 'Control Panel', and it shows there. I am wondering if it has something to do with Daylight Savings time. I am pulling at straws.
Any help would be greatly appreciated.