mcdhappy80
Registered User.
- Local time
- Today, 14:32
- Joined
- Jun 22, 2009
- Messages
- 347
I noticed that date imported to VBA depends on Standards and Format, in Control Panels, Regional and Language Options settings.
For example in one regional settings the date is displayed in format 01. September. 2009 while in other regional settings the date is stored like September, 1st 2009, for example.
I was wondering, is there a way, that no matter what regional settings are, date imported in VBA can be converted to desired date format?
Is there a function in VBA that can do this?
If not, lets build one, and what strategies would You recommend in doing so?
Thank You.
For example in one regional settings the date is displayed in format 01. September. 2009 while in other regional settings the date is stored like September, 1st 2009, for example.
I was wondering, is there a way, that no matter what regional settings are, date imported in VBA can be converted to desired date format?
Is there a function in VBA that can do this?
If not, lets build one, and what strategies would You recommend in doing so?
Thank You.