Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Get Current ShortDatePattern
Author:
C.DHAKCHINA MOORTHY
E-mail:
Click to e-mail author
Website:
http://softhands.biz
Submitted:
11/18/2005
Version:
VB.NET 2002
Compatibility:
VB.NET 2002, VB.NET 2003, VB.NET 2005
Category:
Date/Time
Views:
16927
(GetLocaleInfo in VB) If you want check for the Short Date style in the Regional options you can use this code snippet.
Declarations:
' No Declarations Needed. Just call this function. ' SDPattern = GetShortDatePattern()
Code:
Public Function GetShortDatePattern() As String Return System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern() End Function
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement