i need to convert date format used from datetimepicker as(dd/mm/yyyy) to (yyyy-mm-dd) any ideas
thanks
wiss.dev
0
Newbie Poster
Recommended Answers
Jump to PostCheck out the ToString function on your date.
myDate.ToString("-format-")
Jump to PostDim strdate As String strdate$ = VB6.Format$(Now(), "YYYY-MM-DD") msgbox(strdate$)
another way
All 12 Replies
me655321
1
Junior Poster in Training
jlego
15
Posting Pro
wiss.dev
0
Newbie Poster
me655321
1
Junior Poster in Training
panneer80
0
Newbie Poster
jlego
15
Posting Pro
fizza khan
0
Newbie Poster
memyself&i
0
Newbie Poster
jlego
15
Posting Pro
memyself&i
0
Newbie Poster
jlego
15
Posting Pro
jlego
15
Posting Pro
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.