|
-
Sep 29th, 2009, 05:46 AM
#1
Thread Starter
New Member
[RESOLVED] convert text to dd/mm/yyyy format
I'm trying to convert the "29/09/2009" string to date format dd/mm/yyyy
I'm using visual studio 2008, and i've tried the following:
dim sdate as string
sdate = "29/09/2009"
mydate = DateTime.Parse(sDate, Globalization.CultureInfo.CreateSpecificCulture("el-GR"))
and
mydate = Date.Parse(sDate).ToShortDateString()
and i always get #9/29/2009# instead of #29/09/2009# that i want
Any help please?
Last edited by tkoletsis; Sep 29th, 2009 at 06:13 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|