Re: XForms: Calendar Stuff

Steve Lamont (spl@szechuan.ucsd.edu)
Sun, 30 Nov 97 16:27:48 PST

To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I am trying to do quite a complex thing in xforms and a minor part of this
> is a calendar type feature.
>
> Has anyone written a program which is freely available to download that
> does the job of a calendar?

It's not entirely clear what you mean by a calendar. Do you mean a
"datebook" or just something which produces something like

szechuan:spl> cal 9 1752
September 1752
S M Tu W Th F S
1 2 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

If so, how about using the Unix program `cal'? You can just do

FILE *f = popen( "cal 9 1752", "r" );

and read and parse the results.

spl

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/