Mkdate function

redlettertech wrote on Friday, December 28, 2007:

Hello,

I would like to change the dates returned in the report from 24 hour format to 12 hour format.  I attempted to use date(“d:i a”, mkdate(substr($row[‘pc_startTime’], 0, 5))) but am left with undefined function mkdate() on my Gentoo linux server. What lib do I need to load that contains the mkdate function?

Running:
Gentoo 2.6.23
OpenEMR 2.8.3 

Redletter Tech

redlettertech wrote on Sunday, December 30, 2007:

The correct function to use is mktime(). 

Redletter Tech