the database has fields stored in unix time, ie. 1328202426
and I have an api call of an open source standard that takes w3 time, ie. 2010-01-01T00:00:00Z
a) convert w3 time, to the unix time
b) convert the unix time back to w3 time
in PHP
how would this be done? does anyone have some resources for this or will we be inventing the wheel
i did look at some date conversion function that comes with php
a.) convert w3 time, to the unix time
b.) convert the unix time back to w3 time