[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

richtextbox display date

Hi Experts

I have an array called datearray that has the date in american format. i like to display that in richtextbox in uk format.

    Datebox.Lines = dateArray

please help

Thanks
0
b001
Asked:
b001
1 Solution
 
Jacques Bourgeois (James Burger)PresidentCommented:
Once you have a date in a Date variable, you can get a string representation in any culture by specifying the culture in the ToString method. Note that the international code of uk is GB:

yourDate.ToString(New System.Globalization.CultureInfo("en-GB"))
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now