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

Recommended Answers

All 2 Replies

Have you ever checked the Date options?

date.Day, date.Month, date.Year etc etc etc

dim mydate as string
dim a, b, c
mydate = "3/02/09"
dim myParts as string() = mydate.split("/")
a = myParts(0)
b = myParts(1)
c = myParts(2)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.