caldate man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

caldate(3)							    caldate(3)

NAME
       caldate - calendar dates

SYNTAX
       #include <caldate.h>

       unsigned int caldate_fmt(s,&cd);
       unsigned int caldate_scan(s,&cd);

       struct caldate cd;
       char *s;

DESCRIPTION
       A  struct  caldate  value is a calendar date.  It has three components:
       year, month (1...12), and day (1...31).

       caldate_fmt prints cd in ISO style (yyyy-mm-dd) into the character buf‐
       fer  s, without a terminating NUL.  It returns the number of characters
       printed.	 s may be zero; then caldate_fmt returns the number of charac‐
       ters that would have been printed.

       caldate_scan  reads  a calendar date in ISO style from the beginning of
       the character buffer s and puts it into cd.  It returns the  number  of
       characters  read.   If  s  does	not start with an ISO-style date, cal‐
       date_scan returns 0.

SEE ALSO
       caldate_mjd(3), caltime(3)

								    caldate(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net