Created
July 9, 2018 16:23
-
-
Save donpandix/1bdb083896aac805476f949b793fe57f to your computer and use it in GitHub Desktop.
Formateo de un dato Datetime a una cadena de texto con el formato deseado
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Basado en el motor SqlServer 2012 | |
SELECT FORMAT(getdate(), 'dd/MM/yyyy HH:mm') AS fecha_formateada | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment