URL: http://www.firstbasesoftware.com/man/man3/endate.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[ Index of Contents] [ FirstBase RDBMS Overview]


NAME

endate, dedate - encode and decode a date string

SYNOPSIS

#include <firstbase/fb.h>

char *fb_endate(s)
char *s;

char *fb_dedate(s)
char *s;

DESCRIPTION

Fb_endate is a simple routine in the FirstBase library used to convert a date string into a sortable date string, usually used for indexes. The input string is in the form MMDDYY, the result, done in place, is in the format YYMMDD. The character pointer passed in is also returned.

Fb_dedate is the exact opposite, returning a decoded date string.


URL: http://www.firstbasesoftware.com/man/man3/endate.htm
Last modified: 12 September 1995
Copyright © by FirstBase Software.
[ Index of Contents] [ FirstBase RDBMS Overview]