datastring question

B

Ben

Hi,

i use this property for my dates in the aspx page:
DataFormatString="{0:dd-MM-yy}"

but i also want to get the hours, minutes and seconds just behind the date.
How do i do that?
Thanks
Ben
 
G

Guest

Hi,

i use this property for my dates in the aspx page:
DataFormatString="{0:dd-MM-yy}"

but i also want to get the hours, minutes and seconds just behind the date.
How do i do that?
Thanks
Ben

Hi Ben

did you try {0:dd/MM/YYYY HH:mm} ?

Hope this helps
 
B

Ben

thanks, that's it.
"Anon User" <> schreef in bericht
Hi,

i use this property for my dates in the aspx page:
DataFormatString="{0:dd-MM-yy}"

but i also want to get the hours, minutes and seconds just behind the
date.
How do i do that?
Thanks
Ben

Hi Ben

did you try {0:dd/MM/YYYY HH:mm} ?

Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,173
Latest member
GeraldReund
Top