FreeBASIC  0.91.0
time_timevalue.c
Go to the documentation of this file.
1 /* timevalue function */
2 
3 #include "fb.h"
4 
5 /*:::::*/
7 {
8  int hour;
9  int minute;
10  int second;
11  int succeeded = fb_TimeParse( s, &hour, &minute, &second );
12 
13  fb_hStrDelTemp( s );
14 
15  if( !succeeded ) {
17  return 0;
18  }
19 
21 
22  return fb_TimeSerial( hour, minute, second );
23 }
24