Formatting DateTime value in GridView Columns
To format the date displayed in the GridView column, we can use “DataFormatString” to set the DateTime format in a Bound Column.
These binding methods Eval() and Bind() will help us to format date string in TemplateCoulmn.
Read more here,
Format DateTime in GridView