i have this
def day1 =1
def month1 = 10
def year1 = 111
render "a"
def date1 = new Date(year1 ,month1, day1);
the output is
Sat Oct 01 00:00:00 PKT 2011
the date is fine , but can i remove this time format and country symbol i.e 01 00:00:00 PKT?
thanks
You can not “remove” it, TimeZone and Time are always part of the Date object. You can, though, print just the date portion.