top of page

Groovy - Date format

Foto do escritor: Shimotsu Lyu
Shimotsu Lyu
7 de ago. de 2022
1 min de leitura

import java.text.SimpleDateFormat
]def date = new Date()
today = new SimpleDateFormat("dd-MM-yyyy")
println today.format(date);

Posts recentes

Ver tudo
Select de select SQL

select * from "tabela1" where "tabela1"."Id" in (SELECT "tabela2"."id" FROM "tabela2" where "tabela2"."numero" = 1);

 
 
 

Comentários


bottom of page