# ATTR_TIME_FORMAT_FUNCTION

Data Type: | pointer
Description: | Specifies a function to customize the format of the date and time. The prototype is int CVICALLBACK FormatFunction (char* string, int day, int month, int year, int hours, int minutes, int seconds) The function changes the string according to the way you want the time to appear, with a maximum of MAX_TIMESTRING_LEN characters, including the null terminator. If you want to have space between the time column and the column preceding it, you can append a fixed number of spaces to the beginning of the string that the function outputs. The function returns a negative number for an error and returns zero or a positive number if customization is successful.