home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!montebello.ecom.unimelb.EDU.AU!carl
- From: carl@montebello.ecom.unimelb.EDU.AU (Carl Brewer)
- Subject: Re: using variables of type date in UNIX
- Message-ID: <9231821.23606@mulga.cs.mu.OZ.AU>
- Sender: news@cs.mu.OZ.AU
- Organization: Dept. Engineering Computer Resources, Melbourne Uni.
- References: <92314.235928U17868@uicvm.uic.edu>
- Date: Fri, 13 Nov 1992 10:23:52 GMT
- Lines: 21
-
- In article <92314.235928U17868@uicvm.uic.edu> <U17868@uicvm.uic.edu> writes:
- >I want to know how I can use the variable of type date in C. For example, how c
- >ould I define a varaible like
- >"todays_date" to be of type date and then read the input in the format like
- > 11/09/92
- > I would be using ANSI C on UNIX. Is there any biult in function in C library t
- >hat would allow me to declare a variable of type date . If the type date is a U
- >NIX system command, how can I use it in my C program. Could I use it by definin
- >g enumerated data type. If so, how?
-
- #include <time.h>
-
- suggest you read a manual ...
-
-
-
- --
- Annal Natrach, Usthvah Spethed, carl@ecr.mu.oz.au (IRC: Bleve)
- Dochoel Dienve carl@munagin.ee.mu.oz.au
- carl@montebello.ecom.unimelb.EDU.AU
- Merlin, where are you? Call your dragon, to weave a mist...
-