#include <cogent.h>
ST_STATUS LG_UseGMT(IP_Task* myself, IP_Task* textlog, char* retbuf, int buflen, int usegmt, int nlabels, char** labels );
ST_OK on success. Otherwise ST_ERROR, and the retbuf will contain a more detailed error message (see usegmt in the Cascade TextLogger documentation). If the return value is ST_OK, the retbuf may not contain useful information.
This function lets you set the time for the time and date strings of any log or group to Greenwich Mean Time or local time. If no label is specified, this command sets a global default value for all logs and groups. Any specific value always overrides the global definition, regardless of the order in the configuration file or when a command is sent.
This function corresponds to the Cascade TextLogger usegmt command.
Copyright © 1995-2006 by Cogent Real-Time Systems, Inc. All rights reserved.