Related To Date

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Nov 2008
Posts: 34
Reputation: manoj_582033 is an unknown quantity at this point 
Solved Threads: 0
manoj_582033 manoj_582033 is offline Offline
Light Poster

Related To Date

 
0
  #1
Feb 3rd, 2009
Hi Friends
Accualy I Have a string(date) like 3/02/09
But I Want The Out Put
a=3
b=02
c=09
How Can I Do This Plz Help Me
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 63
Reputation: 4advanced is an unknown quantity at this point 
Solved Threads: 10
4advanced 4advanced is offline Offline
Junior Poster in Training

Re: Related To Date

 
0
  #2
Feb 3rd, 2009
Have you ever checked the Date options?

date.Day, date.Month, date.Year etc etc etc
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: Related To Date

 
0
  #3
Feb 4th, 2009
  1. dim mydate as string
  2. dim a, b, c
  3. mydate = "3/02/09"
  4. dim myParts as string() = mydate.split("/")
  5. a = myParts(0)
  6. b = myParts(1)
  7. c = myParts(2)
Last edited by Comatose; Feb 4th, 2009 at 7:00 am.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC