|
-
Mar 18th, 2002, 05:21 PM
#1
Thread Starter
Member
Formatting Dates
Does anymore know how to get an automatic date (something like Date() or Now() ) that will have the date format:
'
mm/dd/yyyy???
thanks.
-
Mar 18th, 2002, 06:38 PM
#2
Originally posted by warker
Does anymore know how to get an automatic date (something like Date() or Now() ) that will have the date format:
'
mm/dd/yyyy???
thanks.
The best thing is to do is create your own date formatting function. EG separate the day month and year from the date and them out put it
eg
dim d, m, y
d=day(date)
m=moth(date)
y=year(date)
response.write m & "/" & d & "/" & y
or you can use the FormatDateTime function
hope this helps.
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Mar 19th, 2002, 09:48 PM
#3
New Member
Format date
You can use
FormatdateTime( now(), vbshortdate)
But be sure to configure your server's date and time setting.
You should be able to set it up under regional setting
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
|