Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 09:52 AM
Richard Liddiment
Guest
 
Posts: n/a
Default Format date

I am using FormatDateTime( mydbDate, vbShortDate) but it is NOT returning
the date formatted according to my regional settings. My regional settings
are "dd/MM/yyyy" but my date is returned as "d/m/yyyy".

Where is it getting the format from so that I can correct it or is there a
better way to format the date, the way I want it?

I have tried the VB format function but get
Type mismatch: 'Format'

Richard


  #2  
Old July 19th, 2005, 09:52 AM
Aaron Bertrand - MVP
Guest
 
Posts: n/a
Default Re: Format date

http://www.aspfaq.com/2313

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/




"Richard Liddiment" <Richard@cfp-software.co.uk> wrote in message
news:bqfu8u$a6e$1@hercules.btinternet.com...[color=blue]
> I am using FormatDateTime( mydbDate, vbShortDate) but it is NOT returning
> the date formatted according to my regional settings. My regional settings
> are "dd/MM/yyyy" but my date is returned as "d/m/yyyy".
>
> Where is it getting the format from so that I can correct it or is there a
> better way to format the date, the way I want it?
>
> I have tried the VB format function but get
> Type mismatch: 'Format'
>
> Richard
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles