isnoend2001
asked on
Problem the time from datepicker in vb6
Please upload your project and tell me what to do to reproduce the problem.
ASKER
Thanks Marty
i Decided to test using the datepicker , with a test project
all i have is a form, datepicker and command button with the code above
As soon i change the time it no longer displays correctly
i Decided to test using the datepicker , with a test project
all i have is a form, datepicker and command button with the code above
As soon i change the time it no longer displays correctly
ASKER
uploaded the test project
isnoend2001,
Your upload doesn't seem to have worked. Marty, and anyone else, can't help you unless we know what you are doing to produce the display message.
Your upload doesn't seem to have worked. Marty, and anyone else, can't help you unless we know what you are doing to produce the display message.
ASKER
uploaded again__Time.zip
Where do you change the time?
Please explain what you are trying to do here.
mytime = Hour(DTPicker1.Value)
fName = "Dy" & mytime
mytime = Hour(DTPicker1.Value)
fName = "Dy" & mytime
See me question above but if all you want is to produce "Dy 23" for example if the time is 11PM then change mytime from a Date to and Integer.
ASKER
What i am trying to do is produce a filename to match the time selected eg:
11:45 = Da 1145
11:45 = Da 1145
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Marty that works
Glad I could help.
ASKER
Have more questions on using the date picker. i will post questions