954,566 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help for formatiing date..

Hi, i got wrote the DataFormatString="{0:dd/MM/yyyy}" but the date format still in
"dd-MM-yyyy" .What should i add in to turn to dd/MM/yyyy?? Thanks.

Dumb Fish
Newbie Poster
23 posts since Sep 2011
Reputation Points: 7
Solved Threads: 0
 

hi i am not sure if this is what you looking for but try this link it might help
http://www.tizag.com/aspTutorial/aspDate.php

one other thing you can use is the cdate function like this

mydate = "01-12-2012"
newdate = cdate (mydate)


that will change it to 1/12/2012

PotaZinga
Newbie Poster
16 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 
PotaZinga
Newbie Poster
16 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You