LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Retrieving short system date format in VBA

Hi

Can someone please help me retrieving the system short date format (I
presume its from local)

I have managed to do that from Visual Studio (VB) with the following line.

SystemShortDateFormat =
System.Globalization.CultureInfo.CurrentCulture.Da teTimeFormat.ShortDatePattern

How do I accomplish this in VBA?

--
Rocco Coetzee
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I convert Long date format to Short date Jason Excel Discussion (Misc queries) 1 January 22nd 10 10:24 PM
Storing data in Short Date format TESA0_4 New Users to Excel 2 July 22nd 08 01:25 AM
short date format not working while i try to excel afte Ashok Excel Discussion (Misc queries) 1 February 25th 08 05:17 PM
Format an Excel Column in the window's short date format. jim kane Excel Programming 7 January 25th 07 02:41 AM
Where is a sample formula for retrieving the system date? Artemis Excel Discussion (Misc queries) 3 January 31st 06 02:18 AM


All times are GMT +1. The time now is 01:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"