I’m working with excel documents using PHP scripts and cannot determine what data type/format PT00H00M00S is, and subsequently I can’t find a way to work with it without using regex. I’d like to convert this into a more standard time format (00:00:00) and I can’t research this on google because I don’t know what “PT…S” is actually called as a date type/format.
Please help me.
It is an ISO 8601 duration.
See this brief overview: http://en.wikipedia.org/wiki/ISO_8601#Durations
Many languages have tools available to work with them, including PHP in the form of
DateInterval.