How To Read and Change the System Date with API Functions (177146)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q177146 SUMMARY
This article presents a step-by-step demonstration on programmatically
calling Windows application program interface (API) functions from Visual
FoxPro to read and set the system date. The code example shows how to
obtain the date in a short date format. The system date can be set manually
in the Date tab through the Regional Settings applet in the Windows Control
Panel.
REFERENCES
Visual C++ Help, version 5.0; search on: "GetLocaleInfo," "SetLocaleInfo"
| Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
|---|
| Keywords: | kbcode kbhowto KB177146 |
|---|
|