|
-
Dec 20th, 2003, 01:38 AM
#1
Thread Starter
Hyperactive Member
Time & Date [solved]
I have a problem im trying to get the Date and Time to be displayed on labels so i have:
which works and perfectly displays the Date
but...
doesn't work, but it should, all that is displayed on label2 is "True"
why doesn't Time work while Date works? what am i doing wrong?
Last edited by Narfy; Dec 20th, 2003 at 01:49 AM.
-
Dec 20th, 2003, 01:41 AM
#2
Use this 
-
Dec 20th, 2003, 01:44 AM
#3
PowerPoster
Shdnt happen that way.
Perphaps u have a variable named "Time" and declared as boolean
just check.
-
Dec 20th, 2003, 01:45 AM
#4
Thread Starter
Hyperactive Member
hmmm it still does the same thing...
but how about this
VB Code:
Format(Now, "hh:nn AMPM")
I think they do the same thing... which is better the one above or Time?
-
Dec 20th, 2003, 01:46 AM
#5
The picture isn't missing
read this:
Originally posted by veryjonny
Shdnt happen that way.
Perphaps u have a variable named "Time" and declared as boolean
just check.
but you could still use
vba.Time
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Dec 20th, 2003, 01:49 AM
#6
Thread Starter
Hyperactive Member
ahhh, thanks, it turns out i had a control on my form named Time
everything works perfect now.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|