SYNOPSIS
#include "timeutils.h"
-
+
int parse_date(struct timespec *result, char const *p,
struct timespec const *now)
The string itself is pointed to by *p. Return 1 if successful.
*p can be an incomplete or relative time specification; if so, use
*now as the basis for the returned time.
-
+
This function is based upon gnulib's parse-datetime.y-dd7a871.
environment variable and external file, and lacks the thread-safety of
`parse_datetime'.
- This chapter was originally produced by Franc,ois Pinard
+ This chapter was originally produced by Franรงois Pinard
(<pinard@iro.umontreal.ca>) from the `parse_datetime.y' source code,
and then edited by K. Berry (<kb@cs.umb.edu>).