It looks to me like the "double" is in OLE Automation date format, where the integer part is the number of days since the base date (midnight Dec 30 1899) and the fractional part the fraction of the day (e.g. 6 am is .25).
Given that format, you could use PHP's date functions or even better its
DateTime class. You could take that base date, and add on however many days and seconds the "double" specifies. Look at using things like
DateTime::add() or
DateTime::modify(). Once you have a
DateTime object representing your chosen date, it is trivial to format it however you like, such as the example you gave, with
DateTime::format().
Bookmarks