|
-
Jun 29th, 2000, 09:26 AM
#1
Thread Starter
Junior Member
How do I retrieve the day of the week, long or short format?
-
Jun 29th, 2000, 09:41 AM
#2
Lively Member
format$(date,"dd") or Day(Date) will return the short form
format$(date,"dddd") will return the long
Andrew Empson
vb6(ent) SP4
-
Jun 29th, 2000, 09:43 AM
#3
Addicted Member
Assume the current date is Thursday, 29 June 2000.
Code:
strDay = Format(Now, "ddd") 'This will give you "Thu"
strDay = Format(Now, "dddd") 'This will give you "Thursday"
Hope this helps.
-
Jun 29th, 2000, 09:44 AM
#4
transcendental analytic
you can use weekday function to return a number 1=sunday 2=monday...
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 29th, 2000, 10:06 AM
#5
Thread Starter
Junior Member
Thanks alot for all your help!!
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
|