problem in formatting date & time

  • Thread starter Thread starter psycho
  • Start date Start date
P

psycho

in sqlserver in date is stored in a particular format. Date and time
are stored in same column. so if i want to display only date or only
time in the datagrid is there any solution?
 
Yes, use date and time formatting expressions. For example, "MMM d, yyyy"
will produce Aug 27, 2006.
 

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