#include <pgtypes_timestamp.h>

#ifndef dtime_t
#define dtime_t Timestamp
#endif /* dtime_t */

#ifndef intrvl_t
#warning needs interval here
#define intrvl_t Timestamp
#endif /* intrvl_t */

extern void dtcurrent (dtime_t *);
extern int dtcvasc (char *, dtime_t *);
extern int dtsub (dtime_t *, dtime_t *, intrvl_t *);
extern int dttoasc (dtime_t *, char *);
extern int dttofmtasc (dtime_t *, char *, int, char *);
extern int intoasc(intrvl_t *, char *);

