Getting Regional Date Formats

Thursday Feb 5th 2004 by Dana Seaman
Share:

Learn to build on the Locale Routines from CodeGuru to show how to format the date for different system Locales. (Added: 10-Aug-2000)

Format dates/times without VB Format statement!! True WYSIWIG uses Regional Configurations and Windows API to do formatting.



Click here for a larger image.

Date function is Y2K compliant(optional). For those who need a date or time string to use with Vb Format, 2 functions are provided which translate the regional date/time strings to a string compatible with the VB Format statement. Written in Vb5.

Based on code from cgLocaleSettings by Chris Eastwood codeguru.com.

Download Zipped Project

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved