Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 593539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:51:23+00:00 2026-05-13T15:51:23+00:00

How to convert text value into date Textbox1 column value = 31/12/2009 (dd/MM/yyyy) Tried

  • 0

How to convert text value into date

Textbox1 column value = 31/12/2009 (dd/MM/yyyy)

Tried

Cdate(textbox1.text)

The above code is not working.

I want to get a date like this ’31 Dec 2009′

How to write a code for getting this format.

Need vb.net code help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:51:24+00:00Added an answer on May 13, 2026 at 3:51 pm

    You can try

    DateTime.TryParseExact

    Converts the specified string
    representation of a date and time to
    its DateTime equivalent using the
    specified array of formats,
    culture-specific format information,
    and style. The format of the string
    representation must match at least one
    of the specified formats exactly. The
    method returns a value that indicates
    whether the conversion succeeded.

    This will allow you to parse the string into a DateTime. You can then use ToString to format the date as you wish.

    Have a look at DateTime.ToString() Patterns

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any python module to convert PDF files into text? I tried one
I'm using the PHP function imagettftext() to convert text into a GIF image. The
Say you've loaded a text file into a string, and you'd like to convert
I want to convert a varchar value that iI set up to a date
How can I convert text representations of numbers into Excel numbers, especially negative values?
How do I convert text between multi-byte text strings, for example Simplified Chinese GB
Is there any way we can convert text to speech in an iPhone app?
EmployeeNumber = string.IsNullOrEmpty(employeeNumberTextBox.Text) ? null : Convert.ToInt32(employeeNumberTextBox.Text), I often find myself wanting to do
I have crystal report and I need to convert it to text file. Currently
Previously I have asked to strip text from a field and convert it to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.