Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DTPicker - Display four digit year?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00145527
Message ID:
00146176
Views:
25
>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.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform