Help in generating time format
Hi All,
I got a request to generate date in below format.
"2007-01-02T15:44:36+11:00".
My question is: is the 'T' in it a standard format for GMT? What's the 'T' meaning here?
I tried SimpleDateFormat, but still couldn't get that.
See my code:
SimpleDateFormat formatDate = new SimpleDateFormat("yyyy-MM-ddHH:mm:ssZ");
System.out.println(formatDate.format(new Date()));
The output is:
2007-03-0811:30:31+1100
But how can I make it "2007-03-08T11:30:31+1100"
Is this a starand time format in Java?
thanks and regards,
auiagman

