Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access ShortDateFormats, Specifiers from Regional Settings??

Status
Not open for further replies.

makjoshi

Programmer
May 30, 2001
27
JP
How to access ShortDateFormats, Specifiers mentioned in Regional Settings as i have to fill combobox with short, long date formats. so the user can select from the combo box and apply the same .
This feature i have to develope in Borland C++?
Plase give your suggestions and the way out for this?

Thanks in Advance.
 
sorry, but what is ShortDateFormats?

Ion Filipski
1c.bmp
 
>This feature i have to develope in Borland C++?
This is not a Borland C++ forum.

For Visual C++:
Check documentation in MSDN on CTime, or strftime rather.

%c - Date and time representation appropriate for locale
%#c - Long date and time representation, appropriate for current locale.


/Per

"It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top