Web Developer
I am a professional .NET developer with over 4 years of hands-on industry experience in designing, developing, and maintaining scalable web applications. I specialize in .NET Core, C#, RESTful APIs, and database-driven systems using SQL Server.
In SQL Server, you can use the
FORMATfunction orCONVERTfunction to change the Date format. Some of them are given below,Sample SQL Table: ‘Employees’ with the columns “EmpId, EmpName, CreationDate, Gender, Salary”
Example-
Using FORMAT()
Using CONVERT()
1.
2.