Syntax
double Seconds( void );
Arguments
No arguments.
Return value
Local time since midnight in seconds, with hundredths of a second.
Description
Read the local time of day as seconds since midnight, with hundredths of a second. Subtract two readings for a short elapsed-time measurement on the same day. The number rolls over at midnight and can change when the system clock is adjusted. Use `OsTime()` for a display string.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
printf( "Seconds since midnight: %.2f\n", Seconds() );
return 0;
}