datastring question

  • Thread starter Thread starter Ben
  • Start date Start date
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
 
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
 
thanks, that's it.
"Alexey Smirnov" <[email protected]> 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

Back
Top