Getting Regional Date Formats

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



Comments

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Thanks to wide spread cloud hosting and innovations small businesses can meet and exceed the legacy systems of goliath corporations. Explore the freedom to work how you want, with a phone system that will adapt to your evolving needs and actually save you lots of expense—read Get an Enterprise Phone System without High Cost and Complexity. The article clearly illustrates: The only hardware you'll need is phone equipment for advanced voice and fax. How to join all your employees, mobile devices, …

  • With the mobility trend in full swing, most organizations today are already vulnerable to potential security risks. The security basics of yesterday--policy, encryption, and authentication--no longer cover fundamental security needs. Businesses must act quickly to get the most from mobility while effectively protecting information and systems.  This white paper describes the challenges IT faces, from mobilizing business processes to protecting corporate data, and outlines the five must-haves for an enterprise …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date