PDA

Click to See Complete Forum and Search --> : System Date Settings...


DanG77
May 17th, 2001, 04:42 AM
ok guys and gals...

How do I change my systems short date format from

dd/MM/yy

To

dd/MM/yyyy

I'm guessin it might be an API call...

:( I aint sure though....:confused:

Cheers.

Matthew Gates
May 17th, 2001, 06:13 AM
Check out the SetSystemTime (http://www.vbapi.com/ref/s/setsystemtime.html) API function.

DanG77
May 17th, 2001, 07:16 AM
No...I don't think thats it... unless i am using it it the wrong way...

That allows you to set the system date time... but not the format of it....

All I wanna do is set the year format to a 4 digit number...

HELP ME...

Chris
May 18th, 2001, 06:35 AM
download my sample code from my home page WIN32API|Locale Information API section ~ set_dateformat.zip @ 2KB

:)