Jump to content

Format data


Bluecrest

Recommended Posts

Hi! is there anyone here knows the expressions in formating the date and decimal? Example changing the date into mm/dd/yyyy or Month Day, Year. In decimal, formating it like 1,000.00. :) Please help. Give me all of your known expression in formating the data.Thanks

Link to comment
Share on other sites

Are you looking for somthing like thisDim d As Date d = Now Response.Write(d) Response.Write("<BR>") Response.Write(d.ToShortDateString) Response.Write("<BR>") Response.Write(d.ToLongDateString)OUTPUT:4/27/2006 12:04:17 PM4/27/2006Thursday, April 27, 2006

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...