|
-
February 18th, 2000, 05:33 PM
#1
Dates
I have a text box that I have specified the "DateFormat" in as yyyy-mm-dd. When I retrieve the date from my system it still shows up in the text box as mm/dd/yy (which I think is the default). Does anyone know of a way to convert to an ISO (yyyy-mm-dd) date?
Dim Today as Variant
Today = date
txtDateFrom.Text = Today
txtdateTo.Text = Today
Thanks
-
February 19th, 2000, 01:14 AM
#2
Re: Dates
Try changign the default Date in THe Control Panel.It should work as long as the Program is on ur System .But when you distribute it then that is another case
-
February 19th, 2000, 07:48 AM
#3
Re: Dates
you can use the format function
Try
debug.print Format(date(),"yyyy-mm-dd")
RK
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
|