mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
contrib
apache_logging
array
datetime
Makefile
datetime_functions.c
datetime_functions.doc
datetime_functions.h
datetime_functions.sql.in
earthdistance
findoidjoins
fulltextindex
int8
ip_and_mac
isbn_issn
linux
lo
mSQL-interface
miscutil
noupdate
pginterface
soundex
spi
string
unixdate
userlock
README
doc
src
COPYRIGHT
HISTORY
INSTALL
README
register.txt
20 lines
545 B
C
20 lines
545 B
C
#ifndef DATETIME_FUNCTIONS_H
|
|
#define DATETIME_FUNCTIONS_H
|
|
|
|
TimeADT *hhmm_in(char *str);
|
|
char *hhmm_out(TimeADT *time);
|
|
TimeADT *hhmm(TimeADT *time);
|
|
TimeADT *time_difference(TimeADT *time1, TimeADT *time2);
|
|
int4 time_hours(TimeADT *time);
|
|
int4 time_minutes(TimeADT *time);
|
|
int4 time_seconds(TimeADT *time);
|
|
int4 as_minutes(TimeADT *time);
|
|
int4 as_seconds(TimeADT *time);
|
|
int4 date_day(DateADT val);
|
|
int4 date_month(DateADT val);
|
|
int4 date_year(DateADT val);
|
|
TimeADT *currenttime(void);
|
|
DateADT currentdate(void);
|
|
|
|
#endif
|