def t1 = new Date()

def a = t1 - 1 
println a
println a.getDay()
