>>I can't seem to get the new 6.0 active-x DTPicker control to display the full four digit year. I've played with the .CustomFormat and Format (which only appears in the controls property dialog) properties to no avail. I'd like to show all four year digits.
>>
>>Thanks,
>Hi Steve,
>
>Here's the scoop on the formatting. If you choose either dptLongDate or dptShortDate as the format, the control uses the setting for these that the user has specified in the Regional Settings applet.
>
>If, however, you choose dptCustom, use lower case for day and year, and upper for month. Further, the number of characters used will affect the output. For example, dddd, MMMM dd, yyyy would return Tuesday, October 13, 1998; ddd MMM dd, yy returns Tue, Oct 13, 98.
Thanks.......I couldn't find any instructions on how to set the CustomFormat property anywhere so I was guessing and would not have thought of mixed case.
Steve
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement