posted 19 years ago
Hi,
Here is my code, this is a small utility method that is supposed to return the current date & time string in the same format as the current system locale specifies.
The output I get is "12/12/06 9:55:21 AM" but my Windows regional settings the short date format is specified as "mm/dd/yyyy" but as you can see in the result it is only giving me a two year digit value not a 4 year digit value as my system locale specifies.