I have a date field in my ms sql table (fecha). I really cant make any changes in the table.
in my asp code
I set fecha=RecordSet("fecha")
I get fecha a long date with time like;
2017-05-04 12:58:17.0000000
I need to get: (day/month/year)
I am at a loss
ASPMicrosoft SQL Server
Last Comment
robrodp
8/22/2022 - Mon
Jim Horn
>I need to get: (day/month/year)
(Potentially stupid question) Doesn't .ASP have the ability to format dates? SQL Server can do this formatting but it will return it as a varchar column and not a date column, which will impact any date math and sorting on the front-end.
(Potentially stupid question) Doesn't .ASP have the ability to format dates? SQL Server can do this formatting but it will return it as a varchar column and not a date column, which will impact any date math and sorting on the front-end.
Open in new window