SDDS ToolKit Programs and Libraries for C and Python
|
Contains time-related functions: mtime(), convert_date_time(), mtimes().
Definition in file time.c.
#include "mdb.h"
#include <ctype.h>
#include <time.h>
Go to the source code of this file.
Functions | |
char * | mtime (void) |
Generates a formatted time string. | |
char * | mtimes (void) |
Generates a detailed formatted time string. | |
char * mtime | ( | void | ) |
Generates a formatted time string.
This function returns a more user-friendly time string compared to ctime()
.
Format Comparison:
ctime
: "wkd mmm dd hh:mm:ss 19yy\n"mtime
: "dd mmm yy hh:mm"Definition at line 93 of file time.c.
char * mtimes | ( | void | ) |
Generates a detailed formatted time string.
This function returns a more detailed and user-friendly time string compared to ctime()
.
Format Comparison:
ctime
: "wkd mmm dd hh:mm:ss 19yy\n"mtimes
: "dd mmm yy hh:mm:ss"Definition at line 137 of file time.c.