pitm_formtime

This function converts time in the pi time format to the pi string format:

 DD-MMM-YY HH:MM:SS 

The passed character buffer, timestring,should be at least 19 characters. If not the returned string will be truncated.

C format

PIVOID pitm_formtime(

int32 timedate,

char PIPTR * timestring,

int32 len );

Returns

None

Arguments

timedate (passed)

pi time stamp

timestring (returned)

pi time string buffer

len (passed)

Length of the time string character buffer

Usage Notes

Enabling Operational Intelligence