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

  • With JRebel, developers get to see their code changes immediately, fine-tune their code with incremental changes, debug, explore and deploy their code with ease (both locally and remotely), and ultimately spend more time coding instead of waiting for the dreaded application redeploy to finish. Every time a developer tests a code change it takes minutes to build and deploy the application. JRebel keeps the app server running at all times, so testing is instantaneous and interactive.

  • Live Event Date: April 22, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Database professionals — whether developers or DBAs — can often save valuable time by learning to get the most from their new or existing productivity tools. Whether you're responsible for managing database projects, performing database health checks and reporting, analyzing code, or measuring software engineering metrics, it's likely you're not taking advantage of some of the lesser-known features of Toad from Dell. Attend this live …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds