|
-
Sep 7th, 2000, 08:25 AM
#1
Thread Starter
Hyperactive Member
Hi all.
I was wondering hoe do I efine a label to show the name of the day.
I know these arguments for getting several things related to time:
Time()
Day()
Date()
Hour()
Minute()
Second()
But how do I know the name of the day instead the number of the day in the month?
PLZ Help me.
-
Sep 7th, 2000, 08:47 AM
#2
_______
<?>
Dim today
today = Now
today = Format(today, "dddd")' equals Friday
'today = Format(today, "ddd") = Fri
MsgBox today
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
-
Sep 7th, 2000, 08:47 AM
#3
Addicted Member
maybe:
Code:
Format(Now, "dddd,mmmm dd,yyyy")
This gives the format
Thursday, September 7, 2000
[Edited by kanejone on 09-07-2000 at 10:21 AM]
-
Sep 7th, 2000, 12:00 PM
#4
Thread Starter
Hyperactive Member
ThanX you guys!
It works perfectly!
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
|