|
-
Aug 5th, 2000, 02:05 AM
#1
Thread Starter
Addicted Member
Hi all
How do you change the format of the DTPICKER(datepicker) from diplaying :
month/date/year to date/month/year
Any help will be greatly apreciated
-
Aug 5th, 2000, 02:32 AM
#2
Hyperactive Member
Just use the Format command like this:
Code:
Private Sub Command1_Click()
ddate = Format(Date, "dd/mm/yyyy")
MsgBox ddate
End Sub
-
Aug 5th, 2000, 04:12 AM
#3
Very simple ....
Rightclick on the DTPicker control. In the property pages, set the date format property to 'custom format' and just below that in the custom format text box enter your own date format like:
'dd mm yyyy' will give you '01 08 2000'
'dd mmm yyyy' will give you '01 Aug 2000'
'dd/mm/yyyy' will give you '01/08/2000'
By the way, you don't look American. Where are you from?
-
Aug 5th, 2000, 04:58 AM
#4
Thread Starter
Addicted Member
Thanks for the help guys
By the way honeybee how do you know i am not an AMERICAN
-
Aug 5th, 2000, 12:10 PM
#5
Well ....
Set Date British
That's what all non-US people are doing in their programs!
Well, am I right or am I wrong?
-
Aug 5th, 2000, 12:24 PM
#6
_______
<?>
I like YYYYMMDD
I must be an alien of some kind!
"A myth is not the succession of individual images,
but an integerated meaningful entity,
reflecting a distinct aspect of the real world."
___ Adolf Jensen
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
|