C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




date format problem URGENT


Posted Date: 31 Jul 2007      Total Responses: 4

Posted By: naeem ul hussan       Member Level: Silver     Points: 2


i am using asp.net with vb.net

i want to convert date format :
for example
current date is 7/22/2007

7/22/2007 to 6/22/2007
date month must be one month before current date
plz answer soon




Responses

Author: prasanna muthuramalingam    31 Jul 2007Member Level: SilverRating:     Points: 2
i can't get u explain me clearly again



Author: naeem ul hussan    31 Jul 2007Member Level: SilverRating:     Points: 2
i want to change current date into date one month before current date.format must be mm/dd/yyy
for example current date=22/7/2007
convert into 7/6/2007

plz reply as soon as possible



Author: naeem ul hussan    31 Jul 2007Member Level: SilverRating:     Points: 2
i want to change current date into date one month before current date.format must be mm/dd/yyy
for example current date=22/7/2007
convert into 7/6/2007

plz reply as soon as possible



Author: Meena Mehra    31 Jul 2007Member Level: GoldRating:     Points: 2
u can use date
txtDateTimeCom.Text = Convert.ToString((Now.Month - 1) & Now.Date & Now.Year)


Post Reply
You must Sign In to post a response.
Next : Format of the initialization string does not conform to specification starting at index 0.
Previous : with connecting to sqlserver getting error
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

fax server

Contact Us    Privacy Policy    Terms Of Use