View difference between Paste ID: 7YBBBHv4 and eprabnmV
SHOW: | | - or go back to the newest paste.
1-
Fecha
1+
Fecha
2
1/12
3
	
4
SELECT FORMAT(GETDATE(),'dd/MM') Fecha;
5
	
6-
SELECT DATENAME(DAY,GETDATE()) + '/' + CONVERT(VARCHAR(2),MONTH(GETDATE())) Fecha
6+
SELECT DATENAME(DAY,GETDATE()) + '/' + CONVERT(VARCHAR(2),MONTH(GETDATE())) Fecha
7
;
8
	
9
SELECT CONVERT(VARCHAR(5),GETDATE(),103) Fecha;
10
	
11
SELECT CONCAT(MONTH(GETDATE()), '/', Day(GetDate())) as Fecha
12
	
13
SELECT CAST(Day(GetDate()) AS VARCHAR(10) ) +'/'+ CAST(MONTH(GETDATE()) AS VARCHAR(10)) as Fecha
14
	
15
SELECT (CONVERT(varchar(3),DAY(GETDATE()))+'/'+ CONVERT(varchar(3),MONTH(GetDate()))) as Fecha
16
	
17
SELECT CONVERT(VARCHAR(5),GETDATE(),103) AS FECHA
18
	
19
SELECT CONVERT(VARCHAR(5),GETDATE(),101) AS FECHA
20
	
21-
SET LANGUAGE Spanish
21+
SET LANGUAGE Spanish
22
SELECT CONCAT('día ', DAY(GETDATE()), ' mes ', DATENAME(month, GETDATE()))