Question about string.gsub()

I have a date/time string like this from a json response:
2011-12-24T10:28:05+0000

In this string, I want to remove the T and the +0000.
So far I got rid of the T but how do I remove the +0000 the same time?

string.gsub(upDate, “T”, " " )

Tanks
David

[import]uid: 34126 topic_id: 21495 reply_id: 321495[/import]

[lua]local upDate = “2011-12-24T10:28:05+0000” – original
local t = string.find(upDate, “+0000”) – finds the +0000
local t = string.sub(upDate,0,t-1) – removes it
local z = string.gsub(t,“T”,"") – removes the “T”[/lua]

[import]uid: 24641 topic_id: 21495 reply_id: 85062[/import]