0

enter image description hereenter image description here

I need to remove time for the date column I dont why the time is coming can any one help me

Alex K
  • 22,315
  • 19
  • 108
  • 236

1 Answers1

0

You can convert datetime to string in your SQL procedure. Here you can find the formats.

For example, if you want to convert datetime to format dd-MM-yyyy, use query:

CONVERT(NVARCHAR(10), GETDATE(), 105)

If you want to sort data using date, leave the actual date in your SQL procedure. This date you will use for sorting, and string for display. Don't use string for sorting because it will use alphanumeric rules.

Marko Radivojević
  • 458
  • 2
  • 7
  • 11