vscphlp_getDateStringFromEvent

int vscphlp_getDateStringFromEvent( char *buf, 
                            size_t buf_len, 
                            vscpEvent *pEvent )

Parameters

buf

Buffer that will get datestring from event

Example result: “2003-11-02T12:23:10Z”

buf_len

Length of the buffer.

pEvent

Event to get datestring from.

Return Value

VSCP_ERROR_SUCCESS on success.

Description

Extract an ISO date string from the datetime block of an event.

Example


Very Simple Control Protocol
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).

results matching ""

    No results matching ""