HighTechTalks DotNet Forums  

Date formatting

Dotnet Data Tools microsoft.public.dotnet.datatools


Discuss Date formatting in the Dotnet Data Tools forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
vvenk
 
Posts: n/a

Default Date formatting - 10-11-2006 , 03:56 PM






Hello:

I would like to use the String.Format method to format a date in the form
"dd-mmm-yyyy"

For example, today will be formatted as "11-Oct-2006"

Can somebody help me?

Reply With Quote
  #2  
Old   
vvenk
 
Posts: n/a

Default RE: Date formatting - 10-11-2006 , 04:05 PM






I figured out. Instead of using String.Format method, I could use the format
method:

Format(Date.Today, "dd-MMM-yyyy") will return the date in the format I was
looking for.

Venki

"vvenk" wrote:

Quote:
Hello:

I would like to use the String.Format method to format a date in the form
"dd-mmm-yyyy"

For example, today will be formatted as "11-Oct-2006"

Can somebody help me?

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.