Bluecrest Posted April 26, 2006 Share Posted April 26, 2006 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 More sharing options...
pulpfiction Posted April 27, 2006 Share Posted April 27, 2006 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 More sharing options...
Bluecrest Posted April 28, 2006 Author Share Posted April 28, 2006 Hey that is new to me. Thanks! Link to comment Share on other sites More sharing options...
DooVoo Posted May 3, 2006 Share Posted May 3, 2006 You could also make use of String.Format to do the job. Checkout: http://idunno.org/displayBlog.aspx/2004071401 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now